[inactive-gitlab-users] Cleaner solution



commit 276c3e64b964721a6d1faa224f90b38fa2f7a71e
Author: Andrea Veri <averi redhat com>
Date:   Tue Sep 3 19:01:00 2019 +0200

    Cleaner solution

 inactive-gitlab-users.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/inactive-gitlab-users.sh b/inactive-gitlab-users.sh
index 328ecdf..774867a 100755
--- a/inactive-gitlab-users.sh
+++ b/inactive-gitlab-users.sh
@@ -1,3 +1,6 @@
 #!/bin/sh
 
-/usr/local/sysadmin-bin/inactive-gitlab-users.py get-inactive -t ${TIMEDELTA_UNIT}:${TIMEDELTA_VALUE} > 
/tmp/inactive-gitlab-users.json
+PATH=$PATH:/usr/local/sysadmin-bin/gitlab
+export PATH
+
+inactive-gitlab-users.py get-inactive -t ${TIMEDELTA_UNIT}:${TIMEDELTA_VALUE} > 
/tmp/inactive-gitlab-users.json


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]