diff options
| -rwxr-xr-x | script/build-libgit2.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/script/build-libgit2.sh b/script/build-libgit2.sh index 98ff78b..89e7534 100755 --- a/script/build-libgit2.sh +++ b/script/build-libgit2.sh @@ -15,8 +15,8 @@ if [ "$#" -eq "0" ]; then usage fi -ROOT="$(cd "$(dirname "$0")/.." && echo "${PWD}")" -VENDORED_PATH="${ROOT}/vendor/libgit2" +ROOT=${ROOT-"$(cd "$(dirname "$0")/.." && echo "${PWD}")"} +VENDORED_PATH=${VENDORED_PATH-"${ROOT}/vendor/libgit2"} BUILD_SYSTEM=OFF while [ $# -gt 0 ]; do |
