The branch main has been updated by jlduran:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=283959bbe0863917c4fc3200a92d1055a4c89bdc

commit 283959bbe0863917c4fc3200a92d1055a4c89bdc
Author:     Jose Luis Duran <[email protected]>
AuthorDate: 2026-05-29 02:09:49 +0000
Commit:     Jose Luis Duran <[email protected]>
CommitDate: 2026-05-29 02:09:49 +0000

    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
---
 usr.sbin/bsdinstall/scripts/script | 1 +
 1 file changed, 1 insertion(+)

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()

Reply via email to