Run bootstrap.sh even when given as cmd arg
This commit is contained in:
committed by
T. R. Bernstein
parent
137a1cf53a
commit
5d8efcf238
@@ -99,7 +99,7 @@ function main() {
|
||||
popd -q
|
||||
}
|
||||
|
||||
if [[ "${ZSH_EVAL_CONTEXT}" == toplevel ]]; then
|
||||
if [[ "${ZSH_EVAL_CONTEXT}" == toplevel || "${ZSH_EVAL_CONTEXT}" == cmdarg ]]; then
|
||||
_DIR="${0:A:h}"
|
||||
main "$@"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user