3 cd "`dirname \"$0\"`" &&
7 if [ "$1" = "-v" ]; then
12 cat "$prog_dir"/locate-all.list |
14 if ! test -d "$d"; then echo "No such dir: $d" >&2; continue; fi
15 if ! test -d "$d/.git"; then continue; fi # Skip bare repos
16 if [ "$verbose" = 1 ]; then echo "$d"; fi
17 cd "$d" && "$@" < /dev/tty || exit 1