summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/gitolite/gitolite2
-rw-r--r--system/gitolite/gitolite.SlackBuild2
2 files changed, 2 insertions, 2 deletions
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