summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2015-08-17 22:01:20 +1000
committerTim Mayberry <mojofunk@gmail.com>2015-08-17 22:01:20 +1000
commit95c5b99efc922402df37e91b2ca3f7ac30f92050 (patch)
treee4546b8c246ab3e728b2f97edca98a356b8a9bfa /wscript
parenta26e27d9711aaf15eef96ed7588e8ee9cb0d7ec2 (diff)
Remove duplicate code in wscript after merge
Diffstat (limited to 'wscript')
-rw-r--r--wscript6
1 files changed, 0 insertions, 6 deletions
diff --git a/wscript b/wscript
index 7fb80461e9..25d4ebe00e 100644
--- a/wscript
+++ b/wscript
@@ -191,18 +191,12 @@ PROGRAM_VERSION = str (MAJOR.encode ('ascii', 'ignore'))
VERSION = VERSION.replace('\'', '')
PROGRAM_VERSION = PROGRAM_VERSION.replace('\'', '')
-
if len (sys.argv) > 1 and sys.argv[1] == 'dist':
if not 'APPNAME' in os.environ:
print "You must define APPNAME in the environment when running ./waf dist"
sys.exit (1)
APPNAME = os.environ['APPNAME'];
-# It seems, that on msys2, with python3, it puts quotes around
-# the version number, which breaks the build.
-VERSION = VERSION.replace('\'', '')
-PROGRAM_VERSION = PROGRAM_VERSION.replace('\'', '')
-
# Mandatory variables
top = '.'
out = 'build'