changeset 272:51f60ebf48cc

Fix argument passing from `<c:configure>`.
author cmlenz
date Fri, 07 Oct 2005 15:17:49 +0000
parents 063ba52dc03d
children 4b6abf75a930
files bitten/build/shtools.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/bitten/build/shtools.py
+++ b/bitten/build/shtools.py
@@ -44,7 +44,8 @@
             args=None):
     """Generic external program execution."""
     if args:
-        args = shlex.split(args)
+        if isinstance(args, basestring):
+            args = shlex.split(args)
     else:
         args = []
 
Copyright (C) 2012-2017 Edgewall Software