diff --git a/script/build-libgit2.sh b/script/build-libgit2.sh index 98ff78b..9f472e4 100755 --- a/script/build-libgit2.sh +++ b/script/build-libgit2.sh @@ -16,7 +16,7 @@ if [ "$#" -eq "0" ]; then fi ROOT="$(cd "$(dirname "$0")/.." && echo "${PWD}")" -VENDORED_PATH="${ROOT}/vendor/libgit2" +VENDORED_PATH=${VENDORED_PATH-"${ROOT}/vendor/libgit2"} BUILD_SYSTEM=OFF while [ $# -gt 0 ]; do