Author: gjb Date: Mon Sep 14 15:58:10 2020 New Revision: 365725 URL: https://svnweb.freebsd.org/changeset/base/365725
Log: Fix setting RELENGDIR when release.sh is called from an external script. Sponsored by: Rubicon Communications, LLC (netgate.com) Modified: head/release/release.sh Modified: head/release/release.sh ============================================================================== --- head/release/release.sh Mon Sep 14 15:48:30 2020 (r365724) +++ head/release/release.sh Mon Sep 14 15:58:10 2020 (r365725) @@ -57,7 +57,9 @@ usage() { env_setup() { # The directory within which the release will be built. CHROOTDIR="/scratch" - RELENGDIR="$(dirname $(realpath ${0}))" + if [ -z "${RELENGDIR}" ]; then + export RELENGDIR="$(dirname $(realpath ${0}))" + fi # The default version control system command to obtain the sources. for _dir in /usr/bin /usr/local/bin; do _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"