]> arthur.barton.de Git - appify.git/blobdiff - appify.sh
Test for any file type when checking the existence of the target
[appify.git] / appify.sh
index cdd3d4044f558a44a2fb1c7bc66fd3975ef16562..45c6ea2c75104dc7d3261bab03c9531da1da5d8a 100755 (executable)
--- a/appify.sh
+++ b/appify.sh
@@ -43,7 +43,7 @@ fi
 SCRIPT=$1
 TARGET=$2
 
-if [ -d "$TARGET" ]; then
+if [ -e "$TARGET" ]; then
     echo "$TARGET exists, exiting" 1>&2
     exit 3
 fi