From 23e76abd7449a6812d78c4032d902768c27e18f6 Mon Sep 17 00:00:00 2001 From: Mario Preksavec Date: Tue, 22 Sep 2015 22:07:43 +0200 Subject: system/gitolite: Fix helper script. Signed-off-by: Mario Preksavec --- system/gitolite/gitolite | 2 +- system/gitolite/gitolite.SlackBuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'system/gitolite') diff --git a/system/gitolite/gitolite b/system/gitolite/gitolite index af1c0bb5ab..332e43ab4a 100644 --- a/system/gitolite/gitolite +++ b/system/gitolite/gitolite @@ -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 diff --git a/system/gitolite/gitolite.SlackBuild b/system/gitolite/gitolite.SlackBuild index 47a977f4ab..379f2091f9 100644 --- a/system/gitolite/gitolite.SlackBuild +++ b/system/gitolite/gitolite.SlackBuild @@ -24,7 +24,7 @@ PRGNAM=gitolite VERSION=${VERSION:-3.6.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} ARCH=noarch -- cgit v1.2.3