[LinuxBIOS] r18 - buildrom-devel/bin
svn at openbios.org
svn at openbios.org
Wed Sep 12 18:39:06 CEST 2007
Author: ward
Date: 2007-09-12 18:39:06 +0200 (Wed, 12 Sep 2007)
New Revision: 18
Modified:
buildrom-devel/bin/doquilt.sh
Log:
Make doquilt.sh a bit smarter about dealing with quilt patch trees.
Signed-off-by: Ward Vandewege <ward at gnu.org>
Acked-by: Jordan Crouse <jordan.crouse at amd.com>
Modified: buildrom-devel/bin/doquilt.sh
===================================================================
--- buildrom-devel/bin/doquilt.sh 2007-08-29 16:54:43 UTC (rev 17)
+++ buildrom-devel/bin/doquilt.sh 2007-09-12 16:39:06 UTC (rev 18)
@@ -22,6 +22,13 @@
exit 0
fi
+# Sometimes the patch order matches. In that case, we can pass the entire patch subdirectory
+# to this script as the second argument, and we'll copy it into $DIR/patches/
+if [ -d $1 ]; then
+ cp -pr $1/* $DIR/patches/
+ shift
+fi
+
while [ $# -gt 0 ]; do
echo `basename $1` >> $DIR/patches/series
cp $1 $DIR/patches
More information about the coreboot
mailing list