From 782c0a79f2b3e5d7badba88b39c6f191fcb63c2a Mon Sep 17 00:00:00 2001 From: Michael Hayes Date: Tue, 24 Sep 2013 12:08:03 +1200 Subject: [PATCH] Strip newline from version --- etc/makemake.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/etc/makemake.py b/etc/makemake.py index c6385e0..3cf3d16 100755 --- a/etc/makemake.py +++ b/etc/makemake.py @@ -272,7 +272,8 @@ def functions_find (filepath, functiondeps, functions, options): print >> sys.stderr, command os.system (command) - version = subprocess_command(options.compile + ' -dumpversion') + version = subprocess_command(options.compile + ' -dumpversion').strip() + if version > '4.5.3': ext = '.014t.cfg' else: