summaryrefslogtreecommitdiff
path: root/scripts/sd-all
blob: 15002ccff1d81ac1aab3c6373644da2aca38d57b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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