X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=ls-status;h=6892f2bdb05a6690916084ccace547bdf755b1ba;hb=13b95111ceb542d9617c4f1a7f44dfde691ed226;hp=f90ae41df0337f3f172376bfdeb2e7967d666330;hpb=dd3522af34b4065fd11806c7a79ff5e0159e81cc;p=git-scripts.git diff --git a/ls-status b/ls-status index f90ae41..6892f2b 100755 --- a/ls-status +++ b/ls-status @@ -1,5 +1,9 @@ #! /bin/sh -exec "`dirname \"$0\"`"/do-all \ +cd "`dirname \"$0\"`" && +prog_dir="`pwd`" && +export prog_dir + +exec "$prog_dir"/do-all \ 'test "$g" = "$d/.git" || continue; cd "$d" &&' \ - 'test -n "`git status --short`" && echo "$d"' + 'test -n "`"$prog_dir"/git-status.sh --short`" && echo "$d"'