Browse Source

Fix `make patch' for more than one patch file

Matthias Schiffer 10 years ago
parent
commit
cfe3b79ca8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scripts/patch.sh

+ 1 - 1
scripts/patch.sh

@@ -9,7 +9,7 @@ for module in $GLUON_MODULES; do
 	cd "$1"/$module
 	git checkout -B patching base
 
-	if [ "$1"/patches/$module/*.patch ]; then
+	if [ "$(echo "$1"/patches/$module/*.patch)" ]; then
 		git am "$1"/patches/$module/*.patch || (
 			git am --abort
 			git checkout patched