aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2015-01-08 14:29:03 +0000
committerGlen Barber <gjb@FreeBSD.org>2015-01-08 14:29:03 +0000
commitef6db579780f563f2963fa50f56215153b506f23 (patch)
tree634165de80bbf2d03723aaa0641ff8e7182b5df0
parenta1b50624beb6db68b16b29eaffbcbb1a8c19cd9d (diff)
downloadsrc-ef6db579780f563f2963fa50f56215153b506f23.tar.gz
src-ef6db579780f563f2963fa50f56215153b506f23.zip
Print informational output when NOPORTS is set,
which would otherwise cause pkg-stage.sh to silently exit. MFC after: 3 days Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=276820
-rwxr-xr-xrelease/scripts/pkg-stage.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/release/scripts/pkg-stage.sh b/release/scripts/pkg-stage.sh
index 73c971fa7ee9..f2153f606757 100755
--- a/release/scripts/pkg-stage.sh
+++ b/release/scripts/pkg-stage.sh
@@ -33,6 +33,9 @@ x11/xorg"
# If NOPORTS is set for the release, do not attempt to build pkg(8).
if [ ! -f /usr/ports/Makefile ]; then
+ echo "*** /usr/ports is missing! ***"
+ echo "*** Skipping pkg-stage.sh ***"
+ echo "*** Unset NOPORTS to fix this ***"
exit 0
fi