Revision 1214 tmp/org.txm.setups/BuildLinux64bit.sh

BuildLinux64bit.sh (revision 1214)
1
VERSION=`cat VERSION`
1
VERSIONWITHOUTSUB=`cat VERSION`
2
SUBVERSION=`cat SUBVERSION`
3
VERSION=${VERSIONWITHOUTSUB}${SUBVERSION}
4

  
2 5
STEP=$1
3 6
ARCH="64"
4 7
ARCHCODE="x86_64"
......
63 66
# for multi installation: set the package version to txm-$VERSION
64 67
find "$APP/DEBIAN/preinst" -type f -exec sed -i "s/TXMVERSION/$VERSION/g" {} \;
65 68
find "$APP/DEBIAN/postinst" -type f -exec sed -i "s/TXMVERSION/$VERSION/g" {} \;
69
find "$APP/usr/bin/TXM" -type f -exec sed -i "s/TXMVERSIONWITHOUTSUB/${VERSIONWITHOUTSUB}/g" {} \;
66 70
find "$APP/usr/bin/TXM" -type f -exec sed -i "s/TXMVERSION/$VERSION/g" {} \;
67 71
find "$APP/DEBIAN/control" -type f -exec sed -i "s/TXMVERSION/${VERSION}/g" {} \;
68 72

  

Also available in: Unified diff