Skip to content

Commit

Permalink
respect symbolic links (i.e. do not use os.path.realpath
Browse files Browse the repository at this point in the history
  • Loading branch information
mfiers committed Jun 11, 2012
1 parent dab8e1e commit b314c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/python/moa/backend/ruff/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ def writeScript(self):
tmpfile = tempfile.NamedTemporaryFile(dir=tmpdir, prefix='moa.',
delete=False, suffix='.sh')
#tmpfile.write("\n".join(sc))
self.scriptFile = os.path.realpath(os.path.abspath(tmpfile.name))
self.scriptFile = os.path.abspath(tmpfile.name)

script = self.commands.render(self.command, self.jobData)
tmpfile.write(script + "\n\n")
Expand Down

0 comments on commit b314c6b

Please sign in to comment.