From 61fdd76c769e44b410f30144f5ddeb6ec2e33f03 Mon Sep 17 00:00:00 2001 From: lhchavez Date: Wed, 12 Feb 2020 16:57:53 -0800 Subject: [PATCH] Merge pull request #503 from jonEbird/static-build-script-cleanup script/build-libgit2-static.sh: correctly set ROOT (cherry picked from commit aa802a90db35ddbecd8323910595de5bac040ba0) --- script/build-libgit2-static.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/build-libgit2-static.sh b/script/build-libgit2-static.sh index 680dd93..4d89fba 100755 --- a/script/build-libgit2-static.sh +++ b/script/build-libgit2-static.sh @@ -2,7 +2,7 @@ set -ex -ROOT="$(cd "$0/../.." && echo "${PWD}")" +ROOT="$(cd "$(dirname "$0")/.." && echo "${PWD}")" BUILD_PATH="${ROOT}/static-build" VENDORED_PATH="${ROOT}/vendor/libgit2"