Fix missing "then"

newer-dal
LEdoian 3 years ago
parent 9b2cfe6437
commit 1d02f871dd

@ -26,7 +26,7 @@ fi
currentbranch="$(git branch --format '%(refname:short)')" currentbranch="$(git branch --format '%(refname:short)')"
# If we are not on target branch, switch and run again # If we are not on target branch, switch and run again
if test "$currentbranch" -ne "$branch" if test "$currentbranch" -ne "$branch"; then
exec /bin/sh -eu "git checkout $branch && exec $0" exec /bin/sh -eu "git checkout $branch && exec $0"
fi fi

Loading…
Cancel
Save