appimage: Fix CLI parameter for choosing branch.
This commit is contained in:
parent
159aa604d3
commit
66c5d91266
|
@ -79,7 +79,7 @@ clone_monkey_repo() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
log_message "Cloning files from git"
|
log_message "Cloning files from git"
|
||||||
branch=${2:-"develop"}
|
branch=${1:-"develop"}
|
||||||
git clone --single-branch --recurse-submodules -b "$branch" "${MONKEY_GIT_URL}" "${REPO_MONKEY_HOME}" 2>&1 || handle_error
|
git clone --single-branch --recurse-submodules -b "$branch" "${MONKEY_GIT_URL}" "${REPO_MONKEY_HOME}" 2>&1 || handle_error
|
||||||
|
|
||||||
chmod 774 -R "${REPO_MONKEY_HOME}"
|
chmod 774 -R "${REPO_MONKEY_HOME}"
|
||||||
|
|
Loading…
Reference in New Issue