summaryrefslogtreecommitdiff
path: root/lib/tmpdir.rb
diff options
context:
space:
mode:
authorhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-26 17:44:07 +0000
committerhsbt <hsbt@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-07-26 17:44:07 +0000
commit4b8f0e76373ee806ce32ada89203fc50c8b0070d (patch)
tree23e2f4dfe1454ca995ba215158a6c4150556a731 /lib/tmpdir.rb
parent9b932528286059af48454d492596934dcb6e4f5c (diff)
downloadbundler-4b8f0e76373ee806ce32ada89203fc50c8b0070d.tar.gz
* lib/shell/command-processor.rb: remove unused variable.
* lib/shell/system-command.rb: ditto. * lib/tmpdir.rb: ditto. * lib/uri/generic.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/tmpdir.rb')
-rw-r--r--lib/tmpdir.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tmpdir.rb b/lib/tmpdir.rb
index d60edd5576..409d779b8a 100644
--- a/lib/tmpdir.rb
+++ b/lib/tmpdir.rb
@@ -19,7 +19,7 @@ class Dir
def Dir::tmpdir
if $SAFE > 0
- tmp = @@systmpdir
+ @@systmpdir
else
tmp = nil
for dir in [ENV['TMPDIR'], ENV['TMP'], ENV['TEMP'], @@systmpdir, '/tmp', '.']