Makefile.am: don't use "test -e", it isn't portable
authorAlexander Barton <alex@barton.de>
Sat, 4 Jan 2014 23:12:00 +0000 (00:12 +0100)
committerAlexander Barton <alex@barton.de>
Sat, 4 Jan 2014 23:12:10 +0000 (00:12 +0100)
Makefile.am

index 0b797c13f77df377ed075c5b4cda00b8ab98a129..11c382eb965e1a94f0adf387f2b5341c6dc64b0c 100644 (file)
@@ -69,7 +69,7 @@ osxpkg: have-packagemaker osxpkg-dest
        make osxpkg-clean
 
 osxpkg-clean:
-       [ ! -e ngircd.dest ] || sudo -n rm -rf ngircd.dest
+       [ ! -r ngircd.dest ] || sudo -n rm -rf ngircd.dest
        rm -rf ngircd.dest $(distdir).mpkg
 
 osxpkg-dest: have-xcodebuild osxpkg-clean clean