[SM-Grimoire-Bugs] [Bug 13896] gcc34 compile fails when root has a shell other than bash

bugzilla-daemon at bugs.sourcemage.org bugzilla-daemon at bugs.sourcemage.org
Wed Aug 8 11:49:06 EDT 2007


http://bugs.sourcemage.org/show_bug.cgi?id=13896





------- Additional Comments From jakakranjc at email.si  2007-08-08 10:49 -------
sh -c "if [ -f ../fixinc.sh ] ; then rm -f ../fixinc.sh || mv -f ../fixinc.sh
 ../fixinc.sh.$$ || exit 1 ; else : ; fi"

...works just fine here and I don't see anything apparent wrong with it. 
However, the error generated is I believe from (t)csh, bash complains 
differently. Try adding an "echo $SHELL" before it. Perhaps the whole thing is 
ran in tcsh.

-- 
Configure bugmail: http://bugs.sourcemage.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the SM-Grimoire-Bugs mailing list