We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa2fbba commit 143f878Copy full SHA for 143f878
Makefile.in
@@ -340,9 +340,7 @@ endif
340
######################################################################
341
342
# This is a pretty expensive operation but I don't see any way to avoid it
343
-SUBMODULE_STATUS=$(shell cd "$(CFG_SRC_DIR)" && "$(CFG_GIT)" submodule status)
344
-# Look through for submodules prefixed with '-' (need init), or '+' (need update)
345
-NEED_GIT_RECONFIG=$(shell echo "$(SUBMODULE_STATUS)" | grep -c '^\(+\|-\)')
+NEED_GIT_RECONFIG=$(shell cd "$(CFG_SRC_DIR)" && "$(CFG_GIT)" submodule status | grep -c '^\(+\|-\)')
346
347
ifeq ($(NEED_GIT_RECONFIG),0)
348
else
0 commit comments