Fix git pull remote name empty check

This commit is contained in:
2025-07-04 14:46:47 +09:00
parent c04f1462d9
commit 17b35aa4c8

View File

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