summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2010-12-30 10:47:21 +0000
committerLars Wirzenius <liw@liw.fi>2010-12-30 10:47:21 +0000
commitf7c33696f0cc89c4146cc1ccc5cf46f7e0990f4a (patch)
tree602d3436911d343ce4d6871366515466501a67e6
parent074469cd9dd7a5debd26bab3756c3a0076ee058b (diff)
downloadliw-automation-f7c33696f0cc89c4146cc1ccc5cf46f7e0990f4a.tar.gz
Add sd-all script.
-rw-r--r--debian/changelog6
-rwxr-xr-xscripts/sd-all14
2 files changed, 20 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 6a5a16c..9031d91 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+liw-automation (8.6) squeeze; urgency=low
+
+ * Add sd-all script.
+
+ -- Lars Wirzenius <liw@liw.fi> Thu, 30 Dec 2010 10:47:04 +0000
+
liw-automation (8.5) squeeze; urgency=low
* Use current location of Journal index file.
diff --git a/scripts/sd-all b/scripts/sd-all
new file mode 100755
index 0000000..15002cc
--- /dev/null
+++ b/scripts/sd-all
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+set -e
+
+awk '
+ NF == 0 { next }
+ $1 ~ /#/ { next }
+ { print $1 }
+' "$HOME/.sd-publish-all.conf" |
+while read repo
+do
+ export SD_REPO="$repo"
+ sd "$@" || exit 1
+done