[Qa-jenkins-scm] [jenkins.debian.net] 01/01: update_jdn: make sure BASEDIR is an absolute path
Holger Levsen
holger at layer-acht.org
Wed Aug 3 14:48:14 UTC 2016
This is an automated email from the git hooks/post-receive script.
holger pushed a commit to branch master
in repository jenkins.debian.net.
commit 8265c596f653917c944a8b3850521812c14b43d4
Author: Mattia Rizzolo <mattia at debian.org>
Date: Wed Aug 3 14:46:05 2016 +0000
update_jdn: make sure BASEDIR is an absolute path
Signed-off-by: Holger Levsen <holger at layer-acht.org>
---
update_jdn.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/update_jdn.sh b/update_jdn.sh
index cc1d87a..33fd521 100755
--- a/update_jdn.sh
+++ b/update_jdn.sh
@@ -4,7 +4,7 @@
set -e
-BASEDIR="$(dirname $0)"
+BASEDIR="$(dirname "$(readlink -e $0)")"
PVNAME=/dev/vdb # LVM physical volume for jobs
VGNAME=jenkins01 # LVM volume group
STAMP=/var/log/jenkins/update-jenkins.stamp
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/qa/jenkins.debian.net.git
More information about the Qa-jenkins-scm
mailing list