From f7c33696f0cc89c4146cc1ccc5cf46f7e0990f4a Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Thu, 30 Dec 2010 10:47:21 +0000 Subject: Add sd-all script. --- debian/changelog | 6 ++++++ scripts/sd-all | 14 ++++++++++++++ 2 files changed, 20 insertions(+) create mode 100755 scripts/sd-all 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 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 -- cgit v1.2.1