Unset GIT_DIR
prior to executing bootstrap
This commit is contained in:
parent
97b784d55d
commit
2a7203a67b
1 changed files with 3 additions and 0 deletions
3
yadm
3
yadm
|
@ -180,6 +180,9 @@ function bootstrap() {
|
||||||
|
|
||||||
bootstrap_available || error_out "Cannot execute bootstrap\n'$YADM_BOOTSTRAP' is not an executable program."
|
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"
|
echo "Executing $YADM_BOOTSTRAP"
|
||||||
exec "$YADM_BOOTSTRAP"
|
exec "$YADM_BOOTSTRAP"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue