handle modified string in svn_revision.cc during build
authorPaul Davis <paul@linuxaudiosystems.com>
Mon, 21 Jan 2013 17:55:53 +0000 (17:55 +0000)
committerPaul Davis <paul@linuxaudiosystems.com>
Mon, 21 Jan 2013 17:55:53 +0000 (17:55 +0000)
git-svn-id: svn://localhost/ardour2/branches/3.0@13950 d708f5d6-7413-0410-9779-e7cbd77b26cf

tools/linux_packaging/build

index e3ea6dcf3ca579853480001dfb34b3ea0546ee2a..ba7fd52b71a2d6f22141fd85727a0691bacade2d 100755 (executable)
@@ -88,7 +88,7 @@ if test x$STRIP != xall -a x$STRIP != xnone -a x$STRIP != xsome ; then
 fi
 
 release_version=`grep -m 1 '^VERSION' ../../wscript | awk '{print $3}' | sed "s/'//g"`
-svn_version=`grep -m 1 'svn_revision =' ../../libs/ardour/svn_revision.cc | cut -d"'" -f 2`
+svn_version=`grep -m 1 'svn_revision =' ../../libs/ardour/svn_revision.cc | cut -d'"' -f 2`
 echo "Version is $release_version / $svn_version"
 info_string="$release_version/$svn_version built on `hostname` by `whoami` on `date`"
 echo "Info string is $info_string"