Another incorrect statement in the upload script

pull/813/head
Morgan Pretty 11 months ago
parent 635a5182bc
commit bf98199800

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

Loading…
Cancel
Save