X-Git-Url: https://git.phdru.name/?p=git-scripts.git;a=blobdiff_plain;f=all-status;h=102bf24f4bfe5b884bf8178c3e3cae2c07bb82b1;hp=60ab248403f596b5666728ee38cf22dfd73f874d;hb=646d28a9e550d907fd8353527aaaa7d87b365e76;hpb=d620650e20051859359c8bb1ec26c122261af652 diff --git a/all-status b/all-status index 60ab248..102bf24 100755 --- a/all-status +++ b/all-status @@ -1,6 +1,9 @@ #! /bin/sh -prog_dir=`dirname "$0"` -"$prog_dir"/do-all \ +cd "`dirname \"$0\"`" && +prog_dir="`pwd`" && +export prog_dir + +exec "$prog_dir"/do-all \ 'test "$g" = "$d/.git" || continue; cd "$d" &&' \ - 'echo "----- $d -----" && git status --short --branch || exit 1' + 'echo "----- $d -----" && "$prog_dir"/git-status.sh --short --branch || exit 1'