Show
Ignore:
Timestamp:
03/04/08 11:05:19 (9 months ago)
Author:
kris
Message:

Modify pptviewer2003 so that we dont need to edit it each time wine is updated

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pbibuild/modules/powerpointviewer2003/build.sh

    r1311 r1536  
    99#   PORTVER = Version number of the port we used to build 
    1010############################################################################## 
     11 
    1112# Save the right version number in the removepbi.sh script 
    12 sed -e "s,CHANGEME,PowerpointViewer20030.9.54${PORTVER},g" ${PBIDIR}/bin/pptview2003 > /tmp/pptview2003 
    13 mv /tmp/pptview2003 ${PBIDIR}/bin/pptview2003 
    14 chmod 755 ${PBIDIR}/bin/pptview2003 
     13MODFILE="${PBIDIR}/bin/pptview2003" 
     14sed -e "s,CHANGE,PowerpointViewer2003${PORTVER},g" ${MODFILE} > ${MODFILE}.tmp 
     15mv ${MODFILE}.tmp ${MODFILE} 
     16chmod 755 ${MODFILE}