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
This commit is contained in:
Glen Barber 2015-01-08 14:29:03 +00:00
parent a1b50624be
commit ef6db57978
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=276820

View File

@ -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