diff options
-rwxr-xr-x | pkgpatch | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,10 +1,9 @@ #!/bin/sh -# pkgpatch -- patch but don't overwrite original files +# pkgpatch -- patch, saving original files move() { - echo "${0##*/}: renaming *.$1 to *.$2..." 1>&2 for orig in *.$1; do mv -i "$orig" "${orig%.$1}".$2 done |