X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=jenkins-init-scripts%2Flocal-init.sh;h=d55974cae491e060aedf2156cb01708dd9ea541e;hb=5046ffab66703750e10318322980f817552d5539;hp=c4b2d9b81848da8343ce2bf58be8b1d8a9b34b5c;hpb=4fa9fa3d8b71afe054fa0a663d94e2a5910b631e;p=releng%2Fbuilder.git diff --git a/jenkins-init-scripts/local-init.sh b/jenkins-init-scripts/local-init.sh index c4b2d9b81..d55974cae 100755 --- a/jenkins-init-scripts/local-init.sh +++ b/jenkins-init-scripts/local-init.sh @@ -9,7 +9,8 @@ # http://www.eclipse.org/legal/epl-v10.html ############################################################################## -./system_type.sh +INIT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )" +"${INIT_DIR}/system_type.sh" # shellcheck disable=SC1091 source /tmp/system_type.sh -"./${SYSTEM_TYPE}.sh" +"${INIT_DIR}/${SYSTEM_TYPE}.sh"