3 export PATH
=/home
/pasky
/bin
:$PATH
7 log
="$(mktemp -t repomgr-XXXXXX)"
14 if ! "$@" >>"$log" 2>&1; then
16 echo "$* failed with error code $?"
19 } |
mail -s "[repo.or.cz] $proj update failed" "$mail",pasky@ucw.cz
25 GIT_DIR
=. bang git fetch
-f -u -k --mirror-all "$url"
26 [ "$(ls objects/??/* 2>/dev/null)" ] && GIT_DIR
=. bang git repack
-a -d
27 GIT_DIR
=. bang git update-server-info
28 date --rfc >.last_refresh