fixed wrong usuage of find in etc/getVariables.py. Fabian Preiss.

This commit is contained in:
Hrvoje Jasak 2019-07-18 15:06:30 +01:00
commit 3800bf824d

View file

@ -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)