summaryrefslogtreecommitdiff
path: root/tools/linux_packaging
diff options
context:
space:
mode:
Diffstat (limited to 'tools/linux_packaging')
-rwxr-xr-xtools/linux_packaging/build7
-rwxr-xr-xtools/linux_packaging/stage2.run.in2
2 files changed, 8 insertions, 1 deletions
diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build
index 3d88076441..1d92befd8f 100755
--- a/tools/linux_packaging/build
+++ b/tools/linux_packaging/build
@@ -643,6 +643,13 @@ fi
sed -e "s/%REPLACE_PGM%/${APPNAME}/" -e "s/%REPLACE_VENDOR%/${VENDOR}/" -e "s/%REPLACE_MAJOR_VERSION%/${major_version}/" -e "s/%REPLACE_VERSION%/${release_version}/" -e "s/%REPLACE_TYPE%/${BUILDTYPE}/" < uninstall.sh.in > $APPBIN/${APP_VER_NAME}.uninstall.sh
chmod a+x $APPBIN/${APP_VER_NAME}.uninstall.sh
+#
+# Add the stage2.run script
+#
+sed -e "s/%REPLACE_MAJOR_VERSION%/${major_version}/" < stage2.run.in > stage2.run
+chmod a+x stage2.run
+
+
#Sanity Check file
if [ -e $BUILD_ROOT/tools/sanity_check/sanityCheck ]; then
cp $BUILD_ROOT/tools/sanity_check/sanityCheck $APPBIN
diff --git a/tools/linux_packaging/stage2.run.in b/tools/linux_packaging/stage2.run.in
index 061edeb6cc..847f9eccc6 100755
--- a/tools/linux_packaging/stage2.run.in
+++ b/tools/linux_packaging/stage2.run.in
@@ -8,7 +8,7 @@
#
###################################
-MAJOR_VERSION=3
+MAJOR_VERSION="%REPLACE_MAJOR_VERSION%"
PGM_NAME="Ardour"
PGM_VENDOR="Ardour"