svn commit: r245058 - projects/portbuild/scripts

Mark Linimon linimon at FreeBSD.org
Sat Jan 5 15:48:15 UTC 2013


Author: linimon (doc,ports committer)
Date: Sat Jan  5 15:48:14 2013
New Revision: 245058
URL: http://svnweb.freebsd.org/changeset/base/245058

Log:
  Remove a needless script invocation.

Modified:
  projects/portbuild/scripts/allgohans

Modified: projects/portbuild/scripts/allgohans
==============================================================================
--- projects/portbuild/scripts/allgohans	Sat Jan  5 14:52:31 2013	(r245057)
+++ projects/portbuild/scripts/allgohans	Sat Jan  5 15:48:14 2013	(r245058)
@@ -20,9 +20,7 @@ doarch() {
     arch=$1
     shift
 
-    if [ -f "${pbd}/${arch}/portbuild.conf" ]; then
-	. ${pbd}/${arch}/portbuild.conf
-    else
+    if [ ! -f "${pbd}/${arch}/portbuild.conf" ]; then
 	echo "can't find ${pbd}/${arch}/portbuild.conf"
 	exit 1
     fi


More information about the svn-src-projects mailing list