diff options
-rwxr-xr-x | buildall.sh | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/buildall.sh b/buildall.sh index 206fe2f..c48ce60 100755 --- a/buildall.sh +++ b/buildall.sh @@ -29,9 +29,10 @@ build () { ( cd "$gitdir" - if [ -f $patchdir/$version ]; then - git apply $patchdir/$version - git commit -m"Build robot patch for nasm-$version" + if [ -d "$patchdir"/"$version" ]; then + for p in "$patchdir"/"$version"/*; do + git am "$p" + done fi ./misc/release $version $here ) |