3 # THIS SCRIPT IS BEING RUN UNDER ROOT!!!
5 # [repo.or.cz] You will need to manually update this file if you modify
6 # it in the repository.
15 [ -e "$dir"/.nofetch
] ||
exit
17 xproj
="$(echo "$proj" | sed 's/\./\\./g')"
18 gid
="$(sed -ne "/^
$xproj:/ { s
/^
[^
:]*:[^
:]*:\
([0-9]*\
):.
*/\
1/; p
}" /home/repo/j/etc/group)"
19 if [ "$gid" = "" ]; then
20 #echo "cannot resolve gid for $proj ($xproj)" >&2
24 chown .
"$gid" info refs objects
-R