[ubuntu] Problem while replacing a directory with some variable

view full story

http://ubuntuforums.org – I have written some script under the path root/c4/build and in that script I have mentioned the path /home/cdot/c4. I want to replace /home/cdot with some variable. I have to make a script in the root directory so that I could replace the path /home/cdot inside root/c4/build with the variable. Can you plaese help me? Thanku (Hardware)