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)
|
val=":".join(v)
|
||||||
else:
|
else:
|
||||||
val=v
|
val=v
|
||||||
if val.find(" "):
|
if " " in val:
|
||||||
return 'export %s="%s"' % (n,val)
|
return 'export %s="%s"' % (n,val)
|
||||||
else:
|
else:
|
||||||
return 'export %s=%s' % (n,val)
|
return 'export %s=%s' % (n,val)
|
||||||
|
|
Reference in a new issue