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 e3acf7f..85c443d 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 39e21a8..f6c6139 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.
 
  --