2009-10-02 19:53:52 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2009-10-03 09:47:02 +02:00
|
|
|
# checkout the master branch to $GL_ADMINDIR
|
2009-12-15 08:05:48 +01:00
|
|
|
# (the GL_ADMINDIR env var would have been set by gl-auth-command)
|
2009-10-03 09:47:02 +02:00
|
|
|
GIT_WORK_TREE=$GL_ADMINDIR git checkout -f master
|
|
|
|
|
|
|
|
cd $GL_ADMINDIR
|
2009-12-15 08:05:48 +01:00
|
|
|
$GL_BINDIR/gl-compile-conf
|
2010-03-16 14:56:26 +01:00
|
|
|
|
2010-03-17 16:06:51 +01:00
|
|
|
cd -
|
|
|
|
|
2010-03-16 14:56:26 +01:00
|
|
|
if [[ -f hooks/post-update.secondary ]] || [[ -L hooks/post-update.secondary ]]
|
|
|
|
then
|
|
|
|
exec hooks/post-update.secondary "$@"
|
|
|
|
fi
|