system/gitolite: Fix helper script.

Signed-off-by: Mario Preksavec <mario@slackware.hr>
This commit is contained in:
Mario Preksavec 2015-09-22 22:07:43 +02:00 committed by Willy Sudiarto Raharjo
parent d9976ab816
commit 23e76abd74
2 changed files with 2 additions and 2 deletions

View file

@ -5,5 +5,5 @@ GL_USER=@GL_USER@
if [ "$(whoami)" == "$GL_USER" ]; then
/usr/libexec/gitolite/gitolite ${@}
else
su -c "/usr/libexec/gitolite/gitolite ${@}" $GL_USER
sudo -u $GL_USER -- "$0" "$@"
fi

View file

@ -24,7 +24,7 @@
PRGNAM=gitolite
VERSION=${VERSION:-3.6.2}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
ARCH=noarch