Made to work under Microsoft Xenix V3.2

This commit is contained in:
ceriel
1988-07-22 19:34:07 +00:00
parent b8880b3692
commit fbb51e80b2
5 changed files with 184 additions and 26 deletions

View File

@@ -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