X-Git-Url: https://git.phdru.name/?a=blobdiff_plain;f=touch-ALL-repos;h=3454a6e44532ec454e11c9250469fae5574efc9e;hb=427017c989cca51ebdef122dcf94fd490b5a104b;hp=fd63f0e19c0cd3dc3bb0ce69198ef87faa76a1fc;hpb=32ef99f91b05f48cf1f5b9e9e545839eb10fef1a;p=git-scripts.git diff --git a/touch-ALL-repos b/touch-ALL-repos index fd63f0e..3454a6e 100755 --- a/touch-ALL-repos +++ b/touch-ALL-repos @@ -1,6 +1,9 @@ #! /bin/sh -exec "`dirname \"$0\"`"/do-all \ +cd "`dirname \"$0\"`" && +prog_dir="`pwd`" && + +exec "$prog_dir"/do-all \ 'test "$g" = "$d/.git" || continue; cd "$d" &&' \ - 'echo "$d" && "$HOME"/admin/prog/git-scripts/touch-all &&' \ - 'git submodule foreach "$HOME"/admin/prog/git-scripts/touch-all' + 'echo "$d" && "$prog_dir"/touch-all &&' \ + 'git submodule foreach "$prog_dir"/touch-all'