[PC-BSD Commits] r4266 - pbibuild/pbibuilder8/pbicreator

svn at pcbsd.org svn at pcbsd.org
Wed Jul 22 11:09:37 PDT 2009


Author: kris
Date: 2009-07-22 11:09:37 -0700 (Wed, 22 Jul 2009)
New Revision: 4266

Modified:
   pbibuild/pbibuilder8/pbicreator/createpbi.sh
Log:

Added support to copy x64 binaries to 32bit PBIs



Modified: pbibuild/pbibuilder8/pbicreator/createpbi.sh
===================================================================
--- pbibuild/pbibuilder8/pbicreator/createpbi.sh	2009-07-22 18:08:56 UTC (rev 4265)
+++ pbibuild/pbibuilder8/pbicreator/createpbi.sh	2009-07-22 18:09:37 UTC (rev 4266)
@@ -207,7 +207,7 @@
 chmod 755 ${WORKDIR}/addpbimime.sh
 
 # Start the creation of the tar.lzma file
-tar cvf - -C ${PBILOC} . 2>${WORKDIR}/.lines | ${PROGDIR}/PBIfiles/lzma e -si ${WORKDIR}/Package.tar.lzma 2>/dev/null
+tar cvf - -C ${PBILOC} . 2>${WORKDIR}/.lines | ${PROGDIR}/PBIfiles/lzma -z -c - >${WORKDIR}/Package.tar.lzma 2>/dev/null
 if [ "$?" != "0" ]
 then
   echo "ERROR: Tar / lzma failed!"
@@ -252,6 +252,12 @@
 cp ${PROGDIR}/PBIfiles/PBItext ${WORKDIR}/ 
 cp ${PROGDIR}/PBIfiles/PBI ${WORKDIR}/ 
 
+if [ -e "${PROGDIR}/PBIfiles/PBI64" ]
+then
+  cp ${PROGDIR}/PBIfiles/PBI64 ${WORKDIR}/ 
+  cp ${PROGDIR}/PBIfiles/PBItext64 ${WORKDIR}/ 
+fi
+
 # Now copy over any .qm lang files
 cp ${PROGDIR}/PBIfiles/*.qm ${WORKDIR}/ 
 



More information about the Commits mailing list