build-test.py: linux fixes.

This commit is contained in:
Robin Mills
2012-11-22 22:44:32 +00:00
parent 2ff7390f51
commit 00e7138f1d
+8 -7
View File
@@ -206,9 +206,12 @@ def main(args):
dict[k]=dict[k][0]
# convert numeric strings to ints
dict['dll' ] = int(dict['dll'])
dict['debug'] = int(dict['debug'])
dict['bits' ] = int(dict['bits'])
debug='debug'
dll='dll'
bits='bits'
dict[dll ] = int(dict[dll])
dict[debug] = int(dict[debug])
dict[bits ] = int(dict[bits])
##
# analyse the version dictionary
@@ -217,11 +220,9 @@ def main(args):
##
# report
debug='debug'
dll='dll'
v='Release' if dict[debug]==0 else 'Debug'
d='DLL' if dict[dll ]==0 else ''
print "build %dbit %-8s %-12s looks good" % (dict['bits'],dict['platform'],v+d)
print "build %dbit %-8s %-12s looks good" % (dict[bits],dict['platform'],v+d)
else:
error("exiv2 not found!")
@@ -229,4 +230,4 @@ if __name__ == '__main__':
main(sys.argv)
# That's all Folks!
##
##