A colleague of mine pointed me to autoconf, that provided the necessary
configure script so that I could build/test the result. This attached
patch will apply to the latest CVS tree as of 5 minutes ago. :)
Feedback is welcome. Thanks!
Chris
Index: quilt.quiltrc
===================================================================
RCS file: /sources/quilt/quilt/quilt.quiltrc,v
retrieving revision 1.9
diff -u -3 -r1.9 quilt.quiltrc
--- quilt.quiltrc 12 Jun 2006 15:31:25 -0000 1.9
+++ quilt.quiltrc 31 Jan 2008 19:45:25 -0000
@@ -25,3 +25,8 @@
# Use a specific editor for quilt (defaults to the value of $EDITOR before
# sourcing this configuration file, or vi if $EDITOR wasn't set).
#EDITOR=nedit
+
+#If your patch files are actually symlinks, this option set to yes will allow
+#the symlink to be preserved (resulting in the file the link is pointing to
+#to be refreshed).
+#QUILT_NO_RM_SYMLINKS=yes
Index: quilt/scripts/patchfns.in
===================================================================
RCS file: /sources/quilt/quilt/quilt/scripts/patchfns.in,v
retrieving revision 1.25
diff -u -3 -r1.25 patchfns.in
--- quilt/scripts/patchfns.in 5 Jun 2007 15:40:33 -0000 1.25
+++ quilt/scripts/patchfns.in 31 Jan 2008 19:45:25 -0000
@@ -783,7 +783,13 @@
{
local filename="$1"
- [ -e "$filename" ] && rm -f "$filename"
+ if [ -e "$filename" ]
+ then
+ if [ "$QUILT_NO_RM_SYMLINKS" != "yes" ]
+ then
+ rm -f "$filename"
+ fi
+ fi
case "$filename" in
*.gz)
_______________________________________________
Quilt-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/quilt-dev