build: Enable set the ROOT for libgit2

This commit is contained in:
Suhaib Mujahid 2020-09-30 19:35:40 -04:00 committed by GitHub
parent 273a8f1e23
commit b8c7994691
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ if [ "$#" -eq "0" ]; then
usage
fi
ROOT="$(cd "$(dirname "$0")/.." && echo "${PWD}")"
ROOT=${ROOT-"$(cd "$(dirname "$0")/.." && echo "${PWD}")"}
VENDORED_PATH=${VENDORED_PATH-"${ROOT}/vendor/libgit2"}
BUILD_SYSTEM=OFF