#! /bin/sh
-exec "`dirname \"$0\"`"/do-all \
- 'test "$g" = "$d/.git" || continue; cd "$d" &&' \
- 'test -n "`git status --short`" && echo "$d"'
+d="`pwd`" &&
+cd "`dirname \"$0\"`" &&
+prog_dir="`pwd`" &&
+export prog_dir &&
+cd "$d" &&
+
+if [ -n "`"$prog_dir"/git-status.sh --short`" ]; then echo "$d"; fi