Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 8 Jan 2015 14:29:03 +0000 (UTC)
From:      Glen Barber <gjb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r276820 - head/release/scripts
Message-ID:  <201501081429.t08ET3OW003394@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: gjb
Date: Thu Jan  8 14:29:03 2015
New Revision: 276820
URL: https://svnweb.freebsd.org/changeset/base/276820

Log:
  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

Modified:
  head/release/scripts/pkg-stage.sh

Modified: head/release/scripts/pkg-stage.sh
==============================================================================
--- head/release/scripts/pkg-stage.sh	Thu Jan  8 14:26:49 2015	(r276819)
+++ head/release/scripts/pkg-stage.sh	Thu Jan  8 14:29:03 2015	(r276820)
@@ -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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501081429.t08ET3OW003394>