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 <[EMAIL PROTECTED]>
Acked-by: Jordan Crouse <[EMAIL PROTECTED]>



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


-- 
linuxbios mailing list
[email protected]
http://www.linuxbios.org/mailman/listinfo/linuxbios

Reply via email to