fixed wrong usuage of find in etc/getVariables.py

This commit is contained in:
Fabian Preiss 2019-05-19 17:24:41 +02:00
parent b6c9f0c577
commit f6b7786025

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)