summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2015-09-22 22:07:43 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-09-26 10:05:54 +0700
commit23e76abd7449a6812d78c4032d902768c27e18f6 (patch)
tree810e86b2fc891371a60c3a1442c48fe66ad2730b
parentd9976ab816afb2343a69c5fd1c69d0957c8c3f29 (diff)
downloadslackbuilds-23e76abd7449a6812d78c4032d902768c27e18f6.tar.gz
system/gitolite: Fix helper script.
Signed-off-by: Mario Preksavec <mario@slackware.hr>
-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