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:
parent
97eea66830
commit
c1a1f32445
5 changed files with 8 additions and 3 deletions
2
t/default.vartest.do
Normal file
2
t/default.vartest.do
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
: ${PREFIX=not defined}
|
||||
echo "$PREFIX"
|
||||
Loading…
Add table
Add a link
Reference in a new issue