fix problem where exec would lose on shell scripts with symlinks in
their names. fix from "James W. Dolter" <jdolter@sawtooth.eecs.umich.edu>. test script: #!/bin/csh mkdir /tmp/foodir cat > /tmp/foodir/testscript <<EOF #!/bin/sh echo "Executing script \$1" EOF chmod 755 /tmp/foodir/testscript (cd /tmp ; ln -s foodir foosym) echo "Trying full path (w/o symlink) to /tmp/foodir/testscript" /tmp/foodir/testscript "with out symlink" echo "Trying full path (w/ symlink) to /tmp/foosym/testscript" /tmp/foosym/testscript "with symlink" echo "End of Test"
This commit is contained in:
parent
4e075d626f
commit
491d6b4b9d
|
@ -1 +1 @@
|
||||||
revision 1.23 intentionally removed
|
revision 1.24 intentionally removed
|
||||||
|
|
Loading…
Reference in New Issue