For some reason quotes are needed on Linux

This commit is contained in:
Bernhard Gschaider 2014-07-21 16:48:58 +02:00 committed by Dominik Christ
parent 170d1bb369
commit 76d193a557

View file

@ -89,8 +89,8 @@ destShell=sys.argv[1]
additional=sys.argv[2:]
if verbose:
print("Target shell",destShell)
print("Additional settings:",additional)
printDebug("Target shell",destShell)
printDebug("Additional settings:",additional)
# Certain bashrc-s fail if these are set
for v in ["FOAM_INST_DIR",
@ -229,6 +229,9 @@ class BashConvert(ShellConvert):
val=":".join(v)
else:
val=v
if val.find(" "):
return 'export %s="%s"' % (n,val)
else:
return 'export %s=%s' % (n,val)
def toAlias(self,n,v):