From 6106ca03cd41e11bf304fdf30bbc1c89d08d0c4c Mon Sep 17 00:00:00 2001 From: Alexander Barton Date: Wed, 8 Apr 2015 11:41:35 +0200 Subject: [PATCH] Test for any file type when checking the existence of the target --- appify.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/appify.sh b/appify.sh index cdd3d40..45c6ea2 100755 --- 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 -- 2.39.2