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:
parent
21520c1887
commit
7b6cc62211
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user