1
0
Fork 0
mirror of synced 2024-06-16 21:01:10 -04:00

Unset GIT_DIR prior to executing bootstrap

This commit is contained in:
Tim Byrne 2017-01-30 21:20:37 -06:00
parent 97b784d55d
commit 2a7203a67b
No known key found for this signature in database
GPG key ID: 6CBE24C2FD8CF76E

3
yadm
View file

@ -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"