[PC-BSD Commits] r5517 - pbibuild/pbibuilder7/pbicreator
svn at pcbsd.org
svn at pcbsd.org
Wed Dec 9 12:01:12 PST 2009
Author: kris
Date: 2009-12-09 12:01:12 -0800 (Wed, 09 Dec 2009)
New Revision: 5517
Modified:
pbibuild/pbibuilder7/pbicreator/createpbi.sh
Log:
Set the PBIPROGDIR corectly for 7.x
Modified: pbibuild/pbibuilder7/pbicreator/createpbi.sh
===================================================================
--- pbibuild/pbibuilder7/pbicreator/createpbi.sh 2009-12-09 19:50:12 UTC (rev 5516)
+++ pbibuild/pbibuilder7/pbicreator/createpbi.sh 2009-12-09 20:01:12 UTC (rev 5517)
@@ -92,6 +92,11 @@
TMPNAME="`cat ${WORKDIR}/.s2`"
PBIPROGDIR="${TMPNAME}"
+cat ${PBCFILE} | grep '^ProgVersion:' | cut -d ' ' -f 2-10 >${WORKDIR}/.s1
+sed -e "s, ,,g" ${WORKDIR}/.s1 > ${WORKDIR}/.s2
+TMPNAME="`cat ${WORKDIR}/.s2`"
+PBIPROGDIR="${PBIPROGDIR}${TMPNAME}"
+
# Check if we need to include the license file
cat ${PBCFILE} | grep '^License: YES' >/dev/null
if [ "$?" = "0" ]
More information about the Commits
mailing list