Code Review
/
releng
/
builder.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Refactor int/pack timer triggers, reduce infra"
[releng/builder.git]
/
jenkins-init-scripts
/
local-init.sh
diff --git
a/jenkins-init-scripts/local-init.sh
b/jenkins-init-scripts/local-init.sh
index c4b2d9b81848da8343ce2bf58be8b1d8a9b34b5c..d55974cae491e060aedf2156cb01708dd9ea541e 100755
(executable)
--- 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
##############################################################################
# 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
# shellcheck disable=SC1091
source /tmp/system_type.sh
-"
.
/${SYSTEM_TYPE}.sh"
+"
${INIT_DIR}
/${SYSTEM_TYPE}.sh"