[PC-BSD Commits] r3203 - pbibuild/pbibuilder/scripts

svn at pcbsd.org svn at pcbsd.org
Thu Jan 8 10:51:45 PST 2009


Author: kris
Date: 2009-01-08 10:51:45 -0800 (Thu, 08 Jan 2009)
New Revision: 3203

Modified:
   pbibuild/pbibuilder/scripts/functions.sh
Log:

Added a ^ to only look for the VERKEY variable at the beginning of a line, which fixes issues with some ports that use the same key elsewhere in the Makefile



Modified: pbibuild/pbibuilder/scripts/functions.sh
===================================================================
--- pbibuild/pbibuilder/scripts/functions.sh	2009-01-08 18:45:02 UTC (rev 3202)
+++ pbibuild/pbibuilder/scripts/functions.sh	2009-01-08 18:51:45 UTC (rev 3203)
@@ -8,7 +8,7 @@
   if [ ! -z "${VERKEY}" ]
   then
    # Now try the supplied VERKEY strings
-   PORTVER="`grep $VERKEY ${PDESTDIR}/${PBIPORT}/Makefile | cut -f 2`"
+   PORTVER="`grep ^$VERKEY ${PDESTDIR}/${PBIPORT}/Makefile | cut -f 2`"
   fi
 
   if [ -z "${PORTVER}" ]



More information about the Commits mailing list