From a810890c4e39d5679a776876dc7dd80a593fde95 Mon Sep 17 00:00:00 2001 From: Luk Lu Date: Sat, 10 Dec 2022 19:16:41 +0800 Subject: [PATCH] small fix --- git-push-recursive.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-push-recursive.sh b/git-push-recursive.sh index 5966ce0..669b979 100755 --- a/git-push-recursive.sh +++ b/git-push-recursive.sh @@ -38,7 +38,7 @@ echo "" echo "=== Enter [commit message] or leave [blank] for default to 'updated'" read -p ">>> " COMMIT_MESSAGE -if [ ! $COMMIT_MESSAGE ] +if [ ! "$COMMIT_MESSAGE" ] then COMMIT_MESSAGE="updated" fi