Revision 2813 tmp/org.txm.setups/BuildMacOSXIntel.sh

BuildMacOSXIntel.sh (revision 2813)
87 87
find "TXM_${fullversion}_${TIMESTAMP}_MacOSX/BUILDPKG.pkgproj" -type f -exec sed -i "s/TXM_TXMVERSION_MacOSX_installer/TXM_${version}_${TIMESTAMP}_MacOSX_installer/g" {} \;
88 88
find "TXM_${fullversion}_${TIMESTAMP}_MacOSX/BUILDPKG.pkgproj" -type f -exec sed -i "s/TXMVERSION/$fullversion/g" {} \;
89 89
find "TXM_${fullversion}_${TIMESTAMP}_MacOSX/BUILDPKG.pkgproj" -type f -exec sed -i "s/TXMMAJORVERSION/$version/g" {} \;
90
find "TXM_${fullversion}_${TIMESTAMP}_MacOSX/Applications/TXM.app" -type f -exec sed -i "s/TXMVERSION/$fullversion/g" {} \;
90
find "TXM_${fullversion}_${TIMESTAMP}_MacOSX/Applications/TXM.app/Contents/MacOS/TXM" -type f -exec sed -i "s/TXMMAJORVERSION/$version/g" {} \;
91
find "TXM_${fullversion}_${TIMESTAMP}_MacOSX/Applications/TXM.app/Contents/MacOS/TXM" -type f -exec sed -i "s/TXMVERSION/$fullversion/g" {} \;
91 92

  
92 93
echo " rename files to add version=$version"
93 94
mv "TXM_${fullversion}_${TIMESTAMP}_MacOSX/Applications/TXM.app" "TXM_${fullversion}_${TIMESTAMP}_MacOSX/Applications/TXM-${fullversion}.app"

Also available in: Unified diff