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
3
t/vartest.do
Normal file
3
t/vartest.do
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
PREFIX=/a/b/c/d/e redo vartest2
|
||||
read x <vartest2
|
||||
[ "$x" = "/a/b/c/d/e" ] || exit 45
|
||||
Loading…
Add table
Add a link
Reference in a new issue