[darwinbuild-changes] [264] trunk/darwinbuild/darwinbuild
source_changes at macosforge.org
source_changes at macosforge.org
Wed Oct 4 02:02:05 PDT 2006
Revision: 264
http://trac.macosforge.org/projects/darwinbuild/changeset/264
Author: ssen
Date: 2006-10-04 02:02:05 -0700 (Wed, 04 Oct 2006)
Log Message:
-----------
Make patch naming for overlays more flexible. Anything Before
the last hyphen is discarded. After the last hyphen, "_" means
"/"
Modified Paths:
--------------
trunk/darwinbuild/darwinbuild
Modified: trunk/darwinbuild/darwinbuild
===================================================================
--- trunk/darwinbuild/darwinbuild 2005-09-17 20:49:08 UTC (rev 263)
+++ trunk/darwinbuild/darwinbuild 2006-10-04 09:02:05 UTC (rev 264)
@@ -466,7 +466,7 @@
$catprog "$SourceCache/$patchfile" | patch -l -f -p0
;;
*.add*)
- newfile=`echo $patchfile | sed -e 's/\.add.*$//' -e 's,_,/,g'`
+ newfile=`echo $patchfile | sed -e 's/^.*-\([^-]*\)\.add.*/\1/' -e 's,_,/,g'`
$catprog "$SourceCache/$patchfile" > "./$newfile"
;;
*)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/darwinbuild-changes/attachments/20061004/99ba7715/attachment-0001.html
More information about the darwinbuild-changes
mailing list