diff options
author | Lars Wirzenius <liw@liw.fi> | 2010-12-16 11:55:57 +0000 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2010-12-16 11:55:57 +0000 |
commit | 3432498ee958fa3b6f69b9e053e1a2df0ce3078b (patch) | |
tree | 78e687a3314942f92fc944a4f655525c79161239 /scripts | |
parent | 8af0e599fbcd86cf281c83b1154f288fb8e0cefa (diff) | |
download | liw-automation-3432498ee958fa3b6f69b9e053e1a2df0ce3078b.tar.gz |
Add sd-publish-all.
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/sd-publish-all | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/sd-publish-all b/scripts/sd-publish-all new file mode 100755 index 0000000..9f42ff0 --- /dev/null +++ b/scripts/sd-publish-all @@ -0,0 +1,12 @@ +#!/bin/sh + +set -e + +cd $HOME +while read dirname remote +do + echo "$dirname" + SD_REPO="$dirname" sd publish --to "$remote" + echo +done < $HOME/.sd-publish-all.conf + |