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

svn at pcbsd.org svn at pcbsd.org
Wed Feb 11 11:29:40 PST 2009


Author: kris
Date: 2009-02-11 11:29:40 -0800 (Wed, 11 Feb 2009)
New Revision: 3433

Modified:
   pbibuild/pbibuilder/scripts/2.1.startmake.sh
Log:

Unset MAKEOPTS before sourcing a modules data



Modified: pbibuild/pbibuilder/scripts/2.1.startmake.sh
===================================================================
--- pbibuild/pbibuilder/scripts/2.1.startmake.sh	2009-02-11 19:24:29 UTC (rev 3432)
+++ pbibuild/pbibuilder/scripts/2.1.startmake.sh	2009-02-11 19:29:40 UTC (rev 3433)
@@ -43,6 +43,8 @@
 INMATEVER="" ; export INMATEVER
 BUILDINMATE="" ; export BUILDINMATE
 PBILOCALBASE=""; export PBILOCALBASE
+LOCALBASE=""; export LOCALBASE
+MAKEOPTS=""; export MAKEOPTS
 
 . ${module}/pbi.conf
 
@@ -150,6 +152,9 @@
   rm -rf ${PDESTDIR}/usr/local
   mkdir -p ${PDESTDIR}/${PBILOCALBASE}
 
+  # Export the PBILOCALBASE directory, in case we need to reference it in another script
+  export PBILOCALBASE
+
   echo "#!/bin/sh
 PATH=\"${PATH}:${PBILOCALBASE}/bin:${PBILOCALBASE}/sbin:${PBILOCALBASE}/kde4/bin\"
 export PATH



More information about the Commits mailing list