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

Commit 7fa90de

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

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
@@ -753,6 +753,19 @@ function bootstrap() {
753753
# GIT_DIR should not be set for user's bootstrap code
754754
unset GIT_DIR
755755

756+
local local_class
757+
local local_system
758+
local local_host
759+
local local_user
760+
local local_distro
761+
set_local_alt_values
762+
763+
export YADM_CLASS="$local_class"
764+
export YADM_OS="$local_system"
765+
export YADM_HOSTNAME="$local_host"
766+
export YADM_USER="$local_user"
767+
export YADM_DISTRO="$local_distro"
768+
756769
echo "Executing $YADM_BOOTSTRAP"
757770
exec "$YADM_BOOTSTRAP"
758771

0 commit comments

Comments
 (0)