Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit cf4c5fc

Browse files
committed
Export local alt values to bootstrap
Upstream issue: yadm-dev#291 Upstream PR: yadm-dev#312
1 parent a5b1067 commit cf4c5fc

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

yadm

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,19 @@ function bootstrap() {
694694
# GIT_DIR should not be set for user's bootstrap code
695695
unset GIT_DIR
696696

697+
local local_class
698+
local local_system
699+
local local_host
700+
local local_user
701+
local local_distro
702+
set_local_alt_values
703+
704+
export YADM_CLASS="$local_class"
705+
export YADM_OS="$local_system"
706+
export YADM_HOSTNAME="$local_host"
707+
export YADM_USER="$local_user"
708+
export YADM_DISTRO="$local_distro"
709+
697710
echo "Executing $YADM_BOOTSTRAP"
698711
exec "$YADM_BOOTSTRAP"
699712

0 commit comments

Comments
 (0)