[sysadmin-bin] Drop the export and the sudo call, not needed
- From: Andrea Veri <av src gnome org>
- To: gnome-sysadmin gnome org,commits-list gnome org
- Subject: [sysadmin-bin] Drop the export and the sudo call, not needed
- Date: Tue, 14 Nov 2017 11:22:03 +0000 (UTC)
commit 44c98ccc6760bb201589e4cf08d305cac99ecaa0
Author: Andrea Veri <averi redhat com>
Date: Tue Nov 14 12:21:50 2017 +0100
Drop the export and the sudo call, not needed
git/log-push | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/git/log-push b/git/log-push
index 88aa571..b373a85 100755
--- a/git/log-push
+++ b/git/log-push
@@ -15,8 +15,7 @@ fi
LOG_FILE="$GIT_DIR/gnome_pushlog"
if [ $(hostname) == 'gitlab.gnome.org' ]; then
- export $GL_USERNAME
- user=`sudo /home/admin/bin/gitlab/fetch-username.py`
+ user=`/home/admin/bin/gitlab/fetch-username.py`
else
user=$(whoami)
fi
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]