Hi Jason, On Mon, 12 Jan 2015 10:39:39 -0600, Jason Wessel wrote: > On 01/12/2015 06:37 AM, Jean Delvare wrote: > > Is there a legitimate use case for not setting QUILT_NO_RM_SYMLINKS? > > Probably the most obvious is when what the link points to is not > writable.
BTW, it just occurred to me that this would be easy enough to detect and automatically adjust the behavior. If the patch is a link and its target can be written to, preserve the link and overwrite its target; otherwise rm the "patch" (be it a link or an actual file) and replace it with an actual patch file. So this leaves us with no excuse to introduce a global variable to control the behavior. Oh, and we did not yet discuss the case where the patch is a symbolic link and it points to a file which has multiple hard links ;-D -- Jean Delvare SUSE L3 Support _______________________________________________ Quilt-dev mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/quilt-dev
