Fix remote name not set check for new clone

This commit is contained in:
2025-07-04 14:32:26 +09:00
parent 793665ebe2
commit 8779c84e1f

View File

@@ -8,7 +8,7 @@ REPOSITORY="$1";
BRANCH="$2";
REMOTE_HOST="$3";
REMOTE_NAME="$4";
if [ -n "${REMOTE_NAME}" ]; then
if [ -z "${REMOTE_NAME}" ]; then
REMOTE_NAME="origin"
fi;
BASE_FOLDER=$(dirname "$(readlink -f "$0")")"/";