mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 04:09:29 +01:00
change extraction of revision and build from revision.cc, and use in the build, package and uninstall scripts
This commit is contained in:
parent
d99b5dfa37
commit
e155338aa0
3 changed files with 6 additions and 6 deletions
|
|
@ -63,10 +63,10 @@ if [ x$DEBUG = xT ]; then
|
|||
fi
|
||||
|
||||
release_version=`grep -m 1 '[^A-Za-z_]LINUX_VERSION = ' ../../wscript | awk '{print $3}' | sed "s/'//g"`
|
||||
revision=`grep -m 1 'revision =' ../../libs/ardour/revision.cc | cut -d'"' -f 2`
|
||||
revision=`grep -m 1 'revision =' ../../libs/ardour/revision.cc | cut -d'"' -f 2 | sed -e "s/$release_version//"`
|
||||
|
||||
X86_BUNDLE="${APPNAME}_x86-${release_version}_${revision}"
|
||||
X86_64_BUNDLE="${APPNAME}_x86_64-${release_version}_${revision}"
|
||||
X86_BUNDLE="${APPNAME}_x86-${release_version}-${revision}"
|
||||
X86_64_BUNDLE="${APPNAME}_x86_64-${release_version}-${revision}"
|
||||
|
||||
if [ ! -z ${BUILDTYPE} ]; then
|
||||
X86_BUNDLE="${X86_BUNDLE}-${BUILDTYPE}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue