mirror of
https://github.com/TheLocehiliosan/yadm
synced 2024-10-27 20:34:27 +00:00
Unset GIT_DIR
prior to executing bootstrap
This commit is contained in:
parent
97b784d55d
commit
2a7203a67b
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 New Issue
Block a user