fixed wrong usuage of find in etc/getVariables.py. Fabian Preiss.
This commit is contained in:
commit
3800bf824d
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Reference in a new issue