On Tue, 2008-01-29 at 12:56 -0500, Dustin J. Mitchell wrote:
> the new option shouldn't be on by default,
> and the patch isn't specific to your product, so there's no reason to
> mention windriver in the config file.
Agreed. Thank you Dustin for your comments. Attached is a new patch
(again, to 0.46).
Chris
diff -urN quilt-0.46/quilt.quiltrc quilt-0.46.wrlinkmod/quilt.quiltrc
--- quilt-0.46/quilt.quiltrc 2006-06-12 11:54:47.000000000 -0500
+++ quilt-0.46.wrlinkmod/quilt.quiltrc 2008-01-29 14:04:41.000000000 -0600
@@ -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
diff -urN quilt-0.46/quilt/scripts/patchfns.in quilt-0.46.wrlinkmod/quilt/scripts/patchfns.in
--- quilt-0.46/quilt/scripts/patchfns.in 2006-09-19 09:44:47.000000000 -0500
+++ quilt-0.46.wrlinkmod/quilt/scripts/patchfns.in 2008-01-28 14:56:14.000000000 -0600
@@ -749,7 +749,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