summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2013-07-31 18:47:21 +0100
committerLars Wirzenius <liw@liw.fi>2013-07-31 18:47:21 +0100
commit6fb702dcc45f991b7bf3106c994a83a302d7ec1c (patch)
tree909abb1bfa19175290aa7990e5932e5a633f2acc
parent6c7f6690a4485c9043cf5f21ea15cac51b5a2273 (diff)
downloadcmdtest-6fb702dcc45f991b7bf3106c994a83a302d7ec1c.tar.gz
Make --tempdir absolute
-rwxr-xr-xyarn2
1 files changed, 1 insertions, 1 deletions
diff --git a/yarn b/yarn
index 6fbd63a..fbf928d 100755
--- a/yarn
+++ b/yarn
@@ -216,7 +216,7 @@ class YarnRunner(cliapp.Application):
return True
if self.settings['tempdir']:
- tempdir = self.settings['tempdir']
+ tempdir = os.path.abspath(self.settings['tempdir'])
if not os.path.exists(tempdir):
os.mkdir(tempdir)
else: