From 432dc41e680d5dfcaa281fab8eed95bcc32cafa9 Mon Sep 17 00:00:00 2001 From: daid Date: Mon, 10 Mar 2014 10:29:39 +0100 Subject: [PATCH] Add version build to engine. --- package.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.sh b/package.sh index 9a52e932..1cf6f2aa 100755 --- a/package.sh +++ b/package.sh @@ -119,7 +119,7 @@ if [ "$BUILD_TARGET" = "darwin" ]; then rm -rf CuraEngine git clone ${CURA_ENGINE_REPO} if [ $? != 0 ]; then echo "Failed to clone CuraEngine"; exit 1; fi - make -C CuraEngine + make -C CuraEngine VERSION=${BUILD_NAME} if [ $? != 0 ]; then echo "Failed to build CuraEngine"; exit 1; fi cp CuraEngine/CuraEngine scripts/darwin/dist/Cura.app/Contents/Resources/CuraEngine @@ -162,7 +162,7 @@ if [ "$BUILD_TARGET" = "debian_i386" ]; then rm -rf CuraEngine git clone ${CURA_ENGINE_REPO} if [ $? != 0 ]; then echo "Failed to clone CuraEngine"; exit 1; fi - make -C CuraEngine + make -C CuraEngine VERSION=${BUILD_NAME} if [ $? != 0 ]; then echo "Failed to build CuraEngine"; exit 1; fi rm -rf scripts/linux/${BUILD_TARGET}/usr/share/cura mkdir -p scripts/linux/${BUILD_TARGET}/usr/share/cura @@ -301,7 +301,7 @@ if [ $BUILD_TARGET = "win32" ]; then rm -rf ${TARGET_DIR}/python/Lib/OpenGL/DLLS/gle* #Build the C++ engine - mingw32-make -C CuraEngine + mingw32-make -C CuraEngine VERSION=${BUILD_NAME} if [ $? != 0 ]; then echo "Failed to build CuraEngine"; exit 1; fi fi -- 2.30.2