summaryrefslogtreecommitdiffstats
path: root/buildall.sh
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-12-26 18:32:39 +0000
committerH. Peter Anvin <hpa@zytor.com>2007-12-26 18:32:39 +0000
commit342aa4ba65d4a9795094cde463eb2840601f2511 (patch)
treefd97e37bf4e4d6464d3b7a86814ca8eeb6c81399 /buildall.sh
parent18b2cd705e375e4eeab94eb60cb10bb4af2db28b (diff)
downloadnasmbuild-342aa4ba65d4a9795094cde463eb2840601f2511.tar.gz
nasmbuild-342aa4ba65d4a9795094cde463eb2840601f2511.tar.xz
nasmbuild-342aa4ba65d4a9795094cde463eb2840601f2511.zip
Make the patchdir contain directories
Diffstat (limited to 'buildall.sh')
-rwxr-xr-xbuildall.sh7
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
)