This website requires JavaScript.
CODE
0x495fab29
Explore
Sign in
forks
/
apenwarr-redo
Watch
1
Star
0
Fork
You've already forked apenwarr-redo
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
cf274842f4
apenwarr-redo
/
t
/
200-shell
/
vartest.do
3 lines
98 B
Text
Raw
Normal View
History
Unescape
Escape
Test for previous PREFIX fix to minimal/do.
2011-03-05 18:12:11 -08:00
PREFIX=/a/b/c/d/e redo chicken.vartest
read x <chicken.vartest
MacOS: "-e filename/." returns true even for non-directories. This has something to do with resource forks. So use "-d filename/." instead, which returns false if filename is not a directory.
2011-03-05 18:11:20 -08:00
[ "$x" = "/a/b/c/d/e" ] || exit 45
Reference in a new issue
Copy permalink