]> git.phdru.name Git - git-scripts.git/commitdiff
Fix(submodules/remove): Add external quotes master
authorOleg Broytman <phd@phdru.name>
Mon, 18 Nov 2024 09:41:29 +0000 (12:41 +0300)
committerOleg Broytman <phd@phdru.name>
Mon, 18 Nov 2024 09:41:29 +0000 (12:41 +0300)
submodules/remove

index 4906a0be6443ad59351c6d555af41316071e3b67..d66ef3403be51c818943b8c9bd79f4e3a0c051e2 100755 (executable)
@@ -34,6 +34,6 @@ if [ \! -s .gitmodules ]; then
     git rm -f .gitmodules
 fi &&
 
-if [ -z `ls -A "$GIT_DIR/modules"` ]; then
+if [ -z "`ls -A \"$GIT_DIR/modules\"`" ]; then
     exec rmdir "$GIT_DIR/modules"
 fi