updated app build
git-svn-id: svn://localhost/ardour2/trunk@1363 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f4fe4d36b1
commit
e891a223fa
@ -3,7 +3,7 @@
|
|||||||
# Ruby script for pulling together a MacOSX app bundle.
|
# Ruby script for pulling together a MacOSX app bundle.
|
||||||
|
|
||||||
# it will be either powerpc or i386
|
# it will be either powerpc or i386
|
||||||
versionline = `grep -m 1 '^version =' ../../SConstruct`
|
versionline = `grep -m 1 '^ardour_version =' ../../SConstruct`
|
||||||
version = versionline.split(" = ")[1].chomp().slice(1..-2)
|
version = versionline.split(" = ")[1].chomp().slice(1..-2)
|
||||||
$stdout.printf("Version is %s\n", version)
|
$stdout.printf("Version is %s\n", version)
|
||||||
|
|
||||||
@ -57,7 +57,7 @@ end
|
|||||||
odir = Dir.getwd
|
odir = Dir.getwd
|
||||||
Dir.chdir("../..")
|
Dir.chdir("../..")
|
||||||
|
|
||||||
result = `otool -L gtk2_ardour/ardour.bin`
|
result = `otool -L gtk2_ardour/ardour-#{version}`
|
||||||
results = result.split("\n")
|
results = result.split("\n")
|
||||||
results.delete_at(0)
|
results.delete_at(0)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user