Skip to content

Commit 086da3a

Browse files
authored
Merge pull request #68 from guyush1/make-clean-posix-compliance
Made `make clean` POSIX compliant
2 parents 9894d64 + a0aa9fa commit 086da3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ _pack-%: build-%-$(BUILD_TYPE)
8686
fi
8787

8888
clean-git-packages:
89-
git submodule foreach '[[ "$$sm_path" == src/submodule_packages/* ]] && git clean -xffd && git restore .'
89+
git submodule foreach 'echo "$$sm_path" | grep "^src/submodule_packages/.*" && git clean -xffd && git restore .'
9090

9191
clean: clean-git-packages
9292
rm -rf build

0 commit comments

Comments
 (0)