summaryrefslogtreecommitdiff
path: root/eng/common/tools.sh
diff options
context:
space:
mode:
Diffstat (limited to 'eng/common/tools.sh')
-rw-r--r--eng/common/tools.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/eng/common/tools.sh b/eng/common/tools.sh
index f39aab57b9..70d92cf85a 100644
--- a/eng/common/tools.sh
+++ b/eng/common/tools.sh
@@ -356,11 +356,11 @@ function MSBuild-Core {
}
}
-. "$scriptroot/pipeline-logging-functions.sh"
-
ResolvePath "${BASH_SOURCE[0]}"
_script_dir=`dirname "$_ResolvePath"`
+. "$_script_dir/pipeline-logging-functions.sh"
+
eng_root=`cd -P "$_script_dir/.." && pwd`
repo_root=`cd -P "$_script_dir/../.." && pwd`
artifacts_dir="$repo_root/artifacts"