X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=do-all;h=5f5a226f073f82de369935ecfc06a1bbc7bf2dba;hb=f0db190b61cc4659a0819b634adaa0992b109461;hp=2a8e19baf10541e933d115cbce6574ff50f77abd;hpb=9d1f4913c3228f846cfe1eb81e42dc1a2902b29c;p=git-scripts.git diff --git a/do-all b/do-all index 2a8e19b..5f5a226 100755 --- a/do-all +++ b/do-all @@ -1,11 +1,12 @@ -#! /usr/bin/env bash +#! /bin/sh prog_dir="`dirname \"$0\"`" && +cat "$prog_dir"/locate-all.list | while true; do read d || exit 0 if ! test -d "$d"; then continue; fi test -d "$d"/.git && g="$d"/.git || g="$d" b="`basename \"$d\" .git`" eval "$@" -done < "$prog_dir"/locate-all.list +done