X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=all-status;h=102bf24f4bfe5b884bf8178c3e3cae2c07bb82b1;hb=b72ec5e939dcc8bed07a82745be4cd9249565831;hp=60ab248403f596b5666728ee38cf22dfd73f874d;hpb=4fcca6c30797d33a16623912886dea20ef4b673c;p=git-scripts.git 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'