--- /dev/null
+#! /bin/sh
+
+prog_dir="`dirname \"$0\"`" &&
+
+cat "$prog_dir"/locate-all.list |
+ grep -v "^$HOME/Internet/WWW/htdocs/git.phdru.name/" |
+while read d; do
+ echo "----- $d -----"; cd "$d" &&
+ if test -d "$d/.git"; then cd "$d/.git"; fi && # bare repo
+ chmod -R u=rwX,go= . &&
+ find objects -type f -exec chmod u=r,go= '{}' \+
+done &&
+
+cd "$HOME/Internet/WWW/htdocs/git.phdru.name/" &&
+pwd && exec chmod -R u=rwX,go=rX .
prog_dir="`dirname \"$0\"`" &&
-cat "$prog_dir"/locate-all.list | grep -F /usr/local/src |
+cat "$prog_dir"/locate-all.list | grep "^/usr/local/src/" |
while read d; do
echo "----- $d -----"; cd "$d" &&
if has_remote upstream && has_remote origin; then