diff options
| author | Jon Miller <[email protected]> | 2019-05-07 11:36:34 -0400 |
|---|---|---|
| committer | Jon Miller <[email protected]> | 2019-05-07 11:36:34 -0400 |
| commit | 13090d85b44a9ff5f5781f28ef1807fbc6ecb864 (patch) | |
| tree | 20d4f7d7468934694844d5c8c4d466773427dc43 /script/build-libgit2-static.sh | |
| parent | bf1e8a4338822ad2539a3876f58b15b590eb9e1f (diff) | |
script/build-libgit2-static.sh: correctly set ROOT
The ROOT variable is not being set correctly. Need to use dirname against
$0 as well as only go up one directory instead of two.
Diffstat (limited to 'script/build-libgit2-static.sh')
| -rwxr-xr-x | script/build-libgit2-static.sh | 2 |
1 files changed, 1 insertions, 1 deletions
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" |
