Another incorrect statement in the upload script

This commit is contained in:
Morgan Pretty 2023-08-01 17:07:21 +10:00
parent 635a5182bc
commit bf98199800
1 changed files with 2 additions and 2 deletions

View File

@ -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