NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

patch backup files

Is there a way of telling patch (or some other equivalent tool) to only
create a backup .orig file if one doesn't already exist?

(The use case is apply two patches which both patch the same file, then
run mkpatches, which only picks up the second patch as the second invocation
of patch changed the .orig file which mkpatches is using as a baseline.)



Home | Main Index | Thread Index | Old Index