aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpkgpatch3
1 files changed, 1 insertions, 2 deletions
diff --git a/pkgpatch b/pkgpatch
index 408edc4..d59ea6a 100755
--- a/pkgpatch
+++ b/pkgpatch
@@ -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