I'm having a problem with the following command:
SPECFILE='gcc --print-file specs' &&
sed 's@ /lib/ld-linux.so.2@ /tools/lib/ld-linux.so.2@g' \
$SPECFILE > tempspecfile &&
mv -f tempspecfile $SPECFILE &&
unset SPECFILE
When i run these commands instead of doing anything it displays the data for sed as if the command syntax is wrong. I have copy and pasted as well as typed this by hand. I have checked
/lib for the dynamic linker and it is in fact ld-linux.so.2. My questions are:
A. What if anything am i doing wrong?
B. What if anyone could tell me are the manual commands needed to do this by hand instead of using the script?
C. Could anybody offer any other information that i haven't thought of?
Any and all help would be appreciated.
Thanx