root/pbibuild/modules/excelviewer2003/build.sh

Revision 1535, 0.7 kB (checked in by kris, 6 months ago)

Updated excelviewer so we don't need to keep adding the new wine version

  • Property svn:executable set to *
Line 
1#!/bin/sh
2# PBI building script
3# This will run after your port build is complete
4# Build your PBI here, and exit 0 on success, or exit 1 on failure.
5##############################################################################
6# Available Variables
7#    PBIDIR = The location of where you can populate your PBI directory
8# MODULEDIR = The location of the module directory for this PBI
9#   PORTVER = Version number of the port we used to build
10##############################################################################
11# Save the right version number in the removepbi.sh script
12sed -e "s,CHANGE,ExcelViewer2003${PORTVER},g" ${PBIDIR}/bin/excelview2003 > /tmp/excelview2003
13mv /tmp/excelview2003 ${PBIDIR}/bin/excelview2003
14chmod 755 ${PBIDIR}/bin/excelview2003
Note: See TracBrowser for help on using the browser.