diff options
author | Lars Wirzenius <liw@liw.fi> | 2010-12-30 10:47:21 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2010-12-30 10:47:21 +0000 |
commit | f7c33696f0cc89c4146cc1ccc5cf46f7e0990f4a (patch) | |
tree | 602d3436911d343ce4d6871366515466501a67e6 /scripts | |
parent | 074469cd9dd7a5debd26bab3756c3a0076ee058b (diff) | |
download | liw-automation-f7c33696f0cc89c4146cc1ccc5cf46f7e0990f4a.tar.gz |
Add sd-all script.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/sd-all | 14 |
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 |