summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-07-02 04:26:53 +0200
committerRobin Gareus <robin@gareus.org>2015-07-02 04:26:53 +0200
commit331111c0b5b4ffd2b65d2319b75fe97b24b798ca (patch)
tree45bc30fd6635b16938c6b8262a1b828a559a4734 /tools
parentbd6777e6dc3ebdfa1785aa486412563834dd2714 (diff)
some more MB linux packaging fixes
Diffstat (limited to 'tools')
-rwxr-xr-xtools/linux_packaging/build2
-rwxr-xr-xtools/linux_packaging/stage2.run.in4
2 files changed, 3 insertions, 3 deletions
diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build
index 43f9639dc0..f4f6dbb319 100755
--- a/tools/linux_packaging/build
+++ b/tools/linux_packaging/build
@@ -642,7 +642,7 @@ 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
+sed -e "s/%REPLACE_MAJOR_VERSION%/${major_version}/;s/%REPLACE_PGM%/${APPNAME};s/%REPLACE_VENDOR%/${VENDOR}" < stage2.run.in > stage2.run
chmod a+x stage2.run
diff --git a/tools/linux_packaging/stage2.run.in b/tools/linux_packaging/stage2.run.in
index 87f2401fba..4894875ab5 100755
--- a/tools/linux_packaging/stage2.run.in
+++ b/tools/linux_packaging/stage2.run.in
@@ -10,8 +10,8 @@
MAJOR_VERSION="%REPLACE_MAJOR_VERSION%"
-PGM_NAME="Ardour"
-PGM_VENDOR="Ardour"
+PGM_NAME="%REPLACE_PGM%"
+PGM_VENDOR="%REPLACE_VENDOR%"
PGM_EXEC_FILE="ardour${MAJOR_VERSION}"
THE_SHELL="/bin/sh"