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:
gjb 2015-01-08 14:29:03 +00:00
parent 21520c1887
commit 7b6cc62211

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