From aae228ad7633b273f23aa40e0a0a9374669bb629 Mon Sep 17 00:00:00 2001 From: poikilos <7557867+poikilos@users.noreply.github.com> Date: Thu, 13 Jun 2019 05:19:56 -0400 Subject: [PATCH] fix issue with alternate syntax --- patches/prepatch.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/patches/prepatch.sh b/patches/prepatch.sh index f1c58e6..afaa23a 100755 --- a/patches/prepatch.sh +++ b/patches/prepatch.sh @@ -19,14 +19,14 @@ enable_install=false if [ "@$3" == "@--install" ]; then enable_install=true branch="$4" -fi -if [ "@$2" == "@--install" ]; then +elif [ "@$2" == "@--install" ]; then enable_install=true branch="$3" -fi -if [ "@$1" == "@--install" ]; then +elif [ "@$1" == "@--install" ]; then enable_install=true branch="$2" +else + branch="$2" fi project0=Bucket_Game project1=basis