summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPhilipp Zabel <p.zabel@pengutronix.de>2017-05-05 14:11:31 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2017-05-05 14:24:59 +0200
commit60238c468ff9b5946efed65932b6eaf1919eb117 (patch)
tree646cbdc3f6796daeffda4d0b5b67522223c0e344 /scripts
parent95eed336fe5fc3b4810afc394baf63d2105d6c93 (diff)
downloadptxdist-60238c468ff9b5946efed65932b6eaf1919eb117.tar.gz
ptxdist-60238c468ff9b5946efed65932b6eaf1919eb117.tar.xz
configure_helper: strip commata from option strings
Signed-off-by: Philipp Zabel <p.zabel@pengutronix.de> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/configure_helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/configure_helper.py b/scripts/configure_helper.py
index 68676185c..2c0c80b79 100755
--- a/scripts/configure_helper.py
+++ b/scripts/configure_helper.py
@@ -182,7 +182,7 @@ def handle_dir(d):
configure_args = []
p = subprocess.Popen([ configure, "--help" ], stdout=subprocess.PIPE, universal_newlines=True)
- for word in p.stdout.read().strip().split():
+ for word in re.split("[\s,]", p.stdout.read().strip()):
if word[:2] != "--":
continue
configure_args.append(word)