summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-06-11 10:18:58 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-06-11 10:18:58 -0400
commit39215e04a9cf33500909ff8ecb308bf06e474f02 (patch)
treef32ef19d7d57b29fd2c2c703b2e6083c30018bac /tools
parentb7b279c588d31484ec50ba6223fcab9657a02a3c (diff)
stop hard-coding main executable as ardour-3.0
Diffstat (limited to 'tools')
-rwxr-xr-xtools/linux_packaging/build3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build
index 26c509a1dc..2742ca9e37 100755
--- a/tools/linux_packaging/build
+++ b/tools/linux_packaging/build
@@ -220,8 +220,7 @@ echo export 'PATH=/usr/local/bin:/opt/bin:$PATH' >> $ENVIRONMENT
sed -e "/^%ENV%/r $ENVIRONMENT" -e '/^%ENV%/d' -e 's/%VER%/'"${release_version}"'/' < ardour.sh.in > $APPBIN/ardour3
rm $ENVIRONMENT && chmod 775 $APPBIN/ardour3
-# the 3.0 here is not the same as "release-version" because the latter may include "-betaN" etc.
-MAIN_EXECUTABLE=ardour-3.0
+MAIN_EXECUTABLE=ardour-${release_version}
echo "Copying ardour executable ...."
cp $BUILD_ROOT/gtk2_ardour/$MAIN_EXECUTABLE $APPBIN