Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2026 02:10:32 +0000
From:      Jose Luis Duran <jlduran@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 283959bbe086 - main - bsdinstall: script: Fix scripted DISTRIBUTIONS
Message-ID:  <6a18f598.248cf.32d03e2a@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by jlduran:

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

commit 283959bbe0863917c4fc3200a92d1055a4c89bdc
Author:     Jose Luis Duran <jlduran@FreeBSD.org>
AuthorDate: 2026-05-29 02:09:49 +0000
Commit:     Jose Luis Duran <jlduran@FreeBSD.org>
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()


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6a18f598.248cf.32d03e2a>