Pārlūkot izejas kodu

Fix `make patch' for more than one patch file

Matthias Schiffer 10 gadi atpakaļ
vecāks
revīzija
cfe3b79ca8
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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