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.
This commit is contained in:
Avery Pennarun 2011-03-05 18:11:20 -08:00
commit c1a1f32445
5 changed files with 8 additions and 3 deletions

2
t/default.vartest.do Normal file
View file

@ -0,0 +1,2 @@
: ${PREFIX=not defined}
echo "$PREFIX"