Made to work under Microsoft Xenix V3.2
This commit is contained in:
15
first/ckpath
15
first/ckpath
@@ -1,4 +1,5 @@
|
||||
rm -f ../bin/x_tpath x_tpath
|
||||
echo 'Checking out your $PATH; . and $ACK/bin should be in front ...'
|
||||
echo "echo $$" >../bin/x_tpath
|
||||
rm -f x_tpath
|
||||
chmod +x ../bin/x_tpath
|
||||
@@ -49,4 +50,18 @@ x$$)
|
||||
STAT=4 ;;
|
||||
esac
|
||||
rm -f ../bin/x_tpath x_tpath
|
||||
echo "echo 93" > ../bin/cat
|
||||
chmod +x ../bin/cat
|
||||
hash -r
|
||||
case x`cat < /dev/null 2>/dev/null`
|
||||
in
|
||||
x93)
|
||||
rm -f ../bin/cat
|
||||
;;
|
||||
*)
|
||||
rm -f ../bin/cat
|
||||
(cd ../bin ; echo Sorry, `pwd` comes too late in your PATH" ($PATH)" )
|
||||
STAT=13
|
||||
;;
|
||||
esac
|
||||
exit $STAT
|
||||
|
||||
Reference in New Issue
Block a user