Commit 3c88573c by John Jarvis

sourcing ascii-convert.sh

parent 8a1175c7
......@@ -18,9 +18,12 @@
export BOTO_CONFIG=/var/lib/jenkins/${aws_account}.boto
dir=$(dirname $0)
source "${dir}/ascii-convert.sh"
if [[ -z $WORKSPACE ]]; then
dir=$(dirname $0)
source "$dir/ascii-convert.sh"
else
source "$WORKSPACE/util/jenkins/ascii-convert.sh"
fi
if [[ -z $dns_name ]]; then
echo "The hostname is required to know what machine to configure"
......
......@@ -19,8 +19,13 @@
# - name_tag
export BOTO_CONFIG=/var/lib/jenkins/${aws_account}.boto
dir=$(dirname $0)
source "${dir}/ascii-convert.sh"
if [[ -z $WORKSPACE ]]; then
dir=$(dirname $0)
source "$dir/ascii-convert.sh"
else
source "$WORKSPACE/util/jenkins/ascii-convert.sh"
fi
if [[ -z $github_username ]]; then
github_username=$BUILD_USER_ID
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment