[PC-BSD Commits] r1537 - in pbibuild/modules/wordviewer2003: . overlay-dir/bin

svn at pcbsd.org svn at pcbsd.org
Tue Mar 4 11:09:05 PST 2008


Author: kris
Date: 2008-03-04 11:09:05 -0800 (Tue, 04 Mar 2008)
New Revision: 1537

Modified:
   pbibuild/modules/wordviewer2003/build.sh
   pbibuild/modules/wordviewer2003/overlay-dir/bin/wordview2003
Log:

Update word viewer to not require a change for each version of wine



Modified: pbibuild/modules/wordviewer2003/build.sh
===================================================================
--- pbibuild/modules/wordviewer2003/build.sh	2008-03-04 19:05:19 UTC (rev 1536)
+++ pbibuild/modules/wordviewer2003/build.sh	2008-03-04 19:09:05 UTC (rev 1537)
@@ -9,7 +9,8 @@
 #   PORTVER = Version number of the port we used to build
 ##############################################################################
 
-# Save the right version number in the removepbi.sh script
-sed -e "s,CHANGEME,WordViewer20030.9.54${PORTVER},g" ${PBIDIR}/bin/wordview2003 > /tmp/wordview2003
-mv /tmp/wordview2003 ${PBIDIR}/bin/wordview2003
-chmod 755 ${PBIDIR}/bin/wordview2003
\ No newline at end of file
+# Change the MODFILE to a new name / version
+MODFILE="${PBIDIR}/bin/wordview2003"
+sed -e "s,CHANGE,WordViewer2003${PORTVER},g" ${MODFILE} > ${MODFILE}.tmp
+mv ${MODFILE}.tmp ${MODFILE}
+chmod 755 ${MODFILE}

Modified: pbibuild/modules/wordviewer2003/overlay-dir/bin/wordview2003
===================================================================
--- pbibuild/modules/wordviewer2003/overlay-dir/bin/wordview2003	2008-03-04 19:05:19 UTC (rev 1536)
+++ pbibuild/modules/wordviewer2003/overlay-dir/bin/wordview2003	2008-03-04 19:09:05 UTC (rev 1537)
@@ -1,6 +1,5 @@
 #!/bin/sh
-PROGDIR="WordViewer20030.9.55"
-#PROGDIR="CHANGEME"
+PROGDIR="CHANGE"
 cd
 export WINEPREFIX="/Programs/${PROGDIR}/WORDVIEW2003"
 /Programs/${PROGDIR}/bin/wine "/Programs/${PROGDIR}/WORDVIEW2003/drive_c/Program Files/Microsoft Office/OFFICE11/WORDVIEW.EXE" "$@"



More information about the Commits mailing list