X-Git-Url: https://git.phdru.name/?p=git-scripts.git;a=blobdiff_plain;f=ls-status;h=3bcc50cab7970ca060a3f45a6b5a9909b7f9e442;hp=6892f2bdb05a6690916084ccace547bdf755b1ba;hb=HEAD;hpb=646d28a9e550d907fd8353527aaaa7d87b365e76 diff --git a/ls-status b/ls-status index 6892f2b..3bcc50c 100755 --- a/ls-status +++ b/ls-status @@ -1,9 +1,9 @@ #! /bin/sh +d="`pwd`" && cd "`dirname \"$0\"`" && prog_dir="`pwd`" && -export prog_dir +export prog_dir && +cd "$d" && -exec "$prog_dir"/do-all \ - 'test "$g" = "$d/.git" || continue; cd "$d" &&' \ - 'test -n "`"$prog_dir"/git-status.sh --short`" && echo "$d"' +if [ -n "`"$prog_dir"/git-status.sh --short`" ]; then echo "$d"; fi