fixed wrong usuage of find
in etc/getVariables.py
This commit is contained in:
parent
b6c9f0c577
commit
f6b7786025
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