chiark / gitweb /
backup/snap-drop: honour argument specifying vardir.
authorianmdlvl <ianmdlvl>
Sat, 4 Oct 2008 00:18:45 +0000 (00:18 +0000)
committerianmdlvl <ianmdlvl>
Sat, 4 Oct 2008 00:18:45 +0000 (00:18 +0000)
backup/snap-drop
debian/changelog

index e3acf7f02d39580f766bc1f1eeec262d305756bb..85c443dc57de7cc70464fa5fb4babf58099ac5e6 100755 (executable)
@@ -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
index 39e21a8bb6e13d4ca536d4bd26101c91821fbd04..f6c613914dfbd2f1bca19ddd40ae68a3fc5b8e36 100644 (file)
@@ -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.
 
  --