chiark
/
gitweb
/
~ian
/
chiark-utils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4ebcf4
)
backup/snap-drop: honour argument specifying vardir.
author
ianmdlvl
<ianmdlvl>
Sat, 4 Oct 2008 00:18:45 +0000
(
00:18
+0000)
committer
ianmdlvl
<ianmdlvl>
Sat, 4 Oct 2008 00:18:45 +0000
(
00:18
+0000)
backup/snap-drop
patch
|
blob
|
history
debian/changelog
patch
|
blob
|
history
diff --git
a/backup/snap-drop
b/backup/snap-drop
index e3acf7f02d39580f766bc1f1eeec262d305756bb..85c443dc57de7cc70464fa5fb4babf58099ac5e6 100755
(executable)
--- a/
backup/snap-drop
+++ b/
backup/snap-drop
@@
-1,6
+1,9
@@
#!/bin/sh
set -e
vd=/var/lib/chiark-backup
+if [ "x$1" != "x" ]; then
+ vd="$1"; shift
+fi
cd "$vd"
test -f snap-drop || exit 0
sh -x snap-drop || true
diff --git
a/debian/changelog
b/debian/changelog
index 39e21a8bb6e13d4ca536d4bd26101c91821fbd04..f6c613914dfbd2f1bca19ddd40ae68a3fc5b8e36 100644
(file)
--- a/
debian/changelog
+++ b/
debian/changelog
@@
-1,7
+1,8
@@
chiark-utils (4.1.30) unstable; urgency=low
- * cvs-repomove: work with Solaris's shoddy sed. (Closes: #497670)
* rcopy-repeatedly: new utility
+ * cvs-repomove: work with Solaris's shoddy sed. (Closes: #497670)
+ * backup/snap-drop: honour argument specifying vardir.
--