[ooo-build-commit] .: bin/cws-extract

Miklos Vajna vmiklos at kemper.freedesktop.org
Wed Aug 4 03:10:26 PDT 2010


 bin/cws-extract |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit ace4521b63ce54caad0030a4cef4a45510bc0564
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Wed Aug 4 12:09:27 2010 +0200

    Avoid the a/b prefix in patches generated by cws-extract
    
    * bin/cws-extract: Use sed to get rid of a/ and b/ in hunk headers.

diff --git a/bin/cws-extract b/bin/cws-extract
index 42777f4..0405d80 100755
--- a/bin/cws-extract
+++ b/bin/cws-extract
@@ -76,6 +76,7 @@ sub cws_extract($$$)
         print STDERR "Unable to generate patch against $cws, check the log for details.\n";
         exit 1;
     }
+    system("sed -i 's|^--- a/|--- |g;s|^+++ b/|+++ |g' cws-$cws.diff");
 }
 
 #


More information about the ooo-build-commit mailing list