I have abc.sh:
abc.sh
exec $ROOT/Subsystem/xyz.sh
On a Unix box, if I print echo $HOME then I get /HOME/COM/FILE>
echo $HOME
/HOME/COM/FILE>
This might work for you:
sed 's|$ROOT|'"${HOME}"'|g' abc.sh > abc.sh.1