aboutsummaryrefslogtreecommitdiff
path: root/release/release.sh
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2020-08-29 15:13:07 +0000
committerGlen Barber <gjb@FreeBSD.org>2020-08-29 15:13:07 +0000
commit8f82b5d4e3fb6f4d6edec03b85de986d360b90be (patch)
treecb415d3681dee7b219d96094bcddcf01f1c0bcb0 /release/release.sh
parentb8d2d479cdc7b1b274ad0a5b33064b35b7022756 (diff)
downloadsrc-8f82b5d4e3fb6f4d6edec03b85de986d360b90be.tar.gz
src-8f82b5d4e3fb6f4d6edec03b85de986d360b90be.zip
Install devel/git from packages if NOPORTS is set in the release.sh
configuration file. Reported by: Michael Butler Sponsored by: Rubicon Communications, LLC (netgate.com)
Notes
Notes: svn path=/head/; revision=364956
Diffstat (limited to 'release/release.sh')
-rwxr-xr-xrelease/release.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/release/release.sh b/release/release.sh
index 13ea5526e448..ab295b95c2ec 100755
--- a/release/release.sh
+++ b/release/release.sh
@@ -282,6 +282,11 @@ extra_chroot_setup() {
WRKDIRPREFIX=/tmp/ports \
DISTDIR=/tmp/distfiles \
install clean distclean
+ else
+ eval chroot ${CHROOTDIR} env ASSUME_ALWAYS_YES=yes \
+ pkg install -y devel/git
+ eval chroot ${CHROOTDIR} env ASSUME_ALWAYS_YES=yes \
+ pkg clean -y
fi
if [ -d ${CHROOTDIR}/usr/ports ]; then
# Trick the ports 'run-autotools-fixup' target to do the right