[PC-BSD Commits] r5214 - pbibuild/pbi-source/PBCsource

svn at pcbsd.org svn at pcbsd.org
Wed Dec 2 12:53:12 PST 2009


Author: kris
Date: 2009-12-02 12:53:12 -0800 (Wed, 02 Dec 2009)
New Revision: 5214

Modified:
   pbibuild/pbi-source/PBCsource/createpbi.sh
Log:

Updated createpbi.sh to reflect change in naming



Modified: pbibuild/pbi-source/PBCsource/createpbi.sh
===================================================================
--- pbibuild/pbi-source/PBCsource/createpbi.sh	2009-12-02 20:44:45 UTC (rev 5213)
+++ pbibuild/pbi-source/PBCsource/createpbi.sh	2009-12-02 20:53:12 UTC (rev 5214)
@@ -82,16 +82,12 @@
  echo "ProgSize: $PBISIZE" >> ${WORKDIR}/PkgConfig
 fi
 
-# Figure out the PBI name / Version for the /Programs/<progname> 
+# Figure out the PBI name for the /Programs/<progname> 
 cat ${PBCFILE} | grep '^ProgName:' | cut -d ' ' -f 2-10 >${WORKDIR}/.s1
 sed -e "s, ,,g" ${WORKDIR}/.s1 > ${WORKDIR}/.s2
 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
-PBIPROGDIR="${TMPNAME}`cat ${WORKDIR}/.s2`"
-
-
 # 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