diff --git a/bootstrap.sh b/bootstrap.sh index fd3640c..54a008f 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -3,7 +3,8 @@ function ensureDocopts() { which docopts > /dev/null && return - curl --output ./docopts -fsSL https://github.com/astzweig/docopts/releases/download/v.0.7.0/docopts_darwin_amd64 >&! /dev/null || return + local fileURL="${DOCOPTS_URL:-https://github.com/astzweig/docopts/releases/download/v.0.7.0/docopts_darwin_amd64}" + curl --output ./docopts -fsSL "${fileURL}" || return chmod u+x ./docopts PATH="${PATH}:`pwd`" }