aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ankarström <john@ankarstrom.se>2021-07-18 19:04:46 +0200
committerJohn Ankarström <john@ankarstrom.se>2021-07-18 19:04:46 +0200
commit0ff0d2c368c153ff4e24ae4662db60a5485b4586 (patch)
treebd9728a5a410c2ab73f15e2fe6649c2a34890ecf
parent1775b1225199b99a16ef5ea99d8daffedd19f3f0 (diff)
downloadpatches-0ff0d2c368c153ff4e24ae4662db60a5485b4586.tar.gz
pkgpatch: Remove message
-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