OSDN Git Service

sconstruct: copyright info should always be hard-coded by NVDA's versionInfo.copyright
authorMichael Curran <mick@kulgan.net>
Wed, 21 Mar 2012 23:59:59 +0000 (09:59 +1000)
committerMichael Curran <mick@kulgan.net>
Wed, 21 Mar 2012 23:59:59 +0000 (09:59 +1000)
sconstruct

index 8f9cfe3..f9b3aeb 100755 (executable)
@@ -75,7 +75,6 @@ keyCommandsLangBlacklist=set([])
 \r
 vars = Variables()\r
 vars.Add("version", "The version of this build", versionInfo.version)\r
-vars.Add("copyright", "The copyright string of this build", versionInfo.copyright)\r
 vars.Add(BoolVariable("release", "Whether this is a release version", False))\r
 vars.Add("publisher", "The publisher of this build", versionInfo.publisher)\r
 vars.Add(PathVariable("certFile", "The certificate file with which to sign executables", "",\r
@@ -96,6 +95,7 @@ if len(unknown)>0:
        print "Unknown commandline variables: %s"%unknown\r
        Exit(1)\r
 \r
+env["copyright"]=versionInfo.copyright\r
 version = env["version"]\r
 release = env["release"]\r
 publisher = env["publisher"]\r