Unset `GIT_DIR` prior to executing bootstrap

pull/57/head
Tim Byrne 7 years ago
parent 97b784d55d
commit 2a7203a67b
No known key found for this signature in database
GPG Key ID: 6CBE24C2FD8CF76E

@ -180,6 +180,9 @@ function bootstrap() {
bootstrap_available || error_out "Cannot execute bootstrap\n'$YADM_BOOTSTRAP' is not an executable program."
# GIT_DIR should not be set for user's bootstrap code
unset GIT_DIR
echo "Executing $YADM_BOOTSTRAP"
exec "$YADM_BOOTSTRAP"

Loading…
Cancel
Save