Fix `make patch' for more than one patch file
This commit is contained in:
parent
1f0cfbc521
commit
cfe3b79ca8
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user