From bf981998002785815690f2a874943742831029af Mon Sep 17 00:00:00 2001 From: Morgan Pretty Date: Tue, 1 Aug 2023 17:07:21 +1000 Subject: [PATCH] Another incorrect statement in the upload script --- Scripts/drone-static-upload.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Scripts/drone-static-upload.sh b/Scripts/drone-static-upload.sh index c7209b2ae..cc3225461 100755 --- a/Scripts/drone-static-upload.sh +++ b/Scripts/drone-static-upload.sh @@ -34,9 +34,9 @@ sim_path="build/Session_sim.xcarchive/Products/Applications/Session.app" mkdir -p build -if [ ! -d $prod_path ]; then +if [ -d $prod_path ]; then cp -av $prod_path "$base" -elif [ ! -d $sim_path ]; then +elif [ -d $sim_path ]; then cp -av $sim_path "$base" else echo -e "\n\n\n\e[31;1mExpected a file to upload, found none\e[0m" >&2