From 8b6d45e333658969b4c40f51f0b252822cf69250 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Mon, 18 Nov 2024 12:41:29 +0300 Subject: [PATCH] Fix(submodules/remove): Add external quotes --- submodules/remove | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/submodules/remove b/submodules/remove index 4906a0b..d66ef34 100755 --- a/submodules/remove +++ b/submodules/remove @@ -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 -- 2.39.5