aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJose Luis Duran <jlduran@FreeBSD.org>2026-05-29 02:09:49 +0000
committerJose Luis Duran <jlduran@FreeBSD.org>2026-05-29 02:09:49 +0000
commit283959bbe0863917c4fc3200a92d1055a4c89bdc (patch)
treec7766d1fa11d4b2de8e77cfba923c20c6dd029f1
parent804daf166406a1b0e22f93b9417b90ed7d3aa1ae (diff)
bsdinstall: script: Fix scripted DISTRIBUTIONS
Restore exporting DISTRIBUTIONS to make it available to other scripts. Reviewed by: imp, asomers Fixes: dc14ae4217a0 ("bsdinstall: do pkgbase installations with the "script" command") MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D57319
-rwxr-xr-xusr.sbin/bsdinstall/scripts/script1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.sbin/bsdinstall/scripts/script b/usr.sbin/bsdinstall/scripts/script
index 93d07c7899c3..4c792d80df6a 100755
--- a/usr.sbin/bsdinstall/scripts/script
+++ b/usr.sbin/bsdinstall/scripts/script
@@ -50,6 +50,7 @@ f_include $BSDCFG_SHARE/variable.subr
############################################################ GLOBALS
: ${TMPDIR:="/tmp"}
+: ${DISTRIBUTIONS=""}; export DISTRIBUTIONS
#
# Strings that should be moved to an i18n file and loaded with f_include_lang()