]> git.phdru.name Git - git-scripts.git/blobdiff - do-all
Carefully list dirty repos and show their status
[git-scripts.git] / do-all
diff --git a/do-all b/do-all
index 2a8e19baf10541e933d115cbce6574ff50f77abd..5f5a226f073f82de369935ecfc06a1bbc7bf2dba 100755 (executable)
--- 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