summaryrefslogtreecommitdiff
path: root/scripts
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 /scripts
parent074469cd9dd7a5debd26bab3756c3a0076ee058b (diff)
downloadliw-automation-f7c33696f0cc89c4146cc1ccc5cf46f7e0990f4a.tar.gz
Add sd-all script.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/sd-all14
1 files changed, 14 insertions, 0 deletions
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