diff --git a/etc/getVariables.py b/etc/getVariables.py index 248f9862e..67b6d8e67 100755 --- a/etc/getVariables.py +++ b/etc/getVariables.py @@ -229,7 +229,7 @@ class BashConvert(ShellConvert): val=":".join(v) else: val=v - if val.find(" "): + if " " in val: return 'export %s="%s"' % (n,val) else: return 'export %s=%s' % (n,val)