use the normal tmpdir for the temporary location

This commit is contained in:
Jordan Sissel 2012-03-20 16:03:08 -07:00
parent cd045d8da4
commit bb08688d57
1 changed files with 2 additions and 2 deletions

View File

@ -223,7 +223,7 @@ class FPM::Package
end # def output
def staging_path(path=nil)
@staging_path ||= ::Dir.mktmpdir("package-#{type}-staging", ::Dir.pwd)
@staging_path ||= ::Dir.mktmpdir("package-#{type}-staging") #, ::Dir.pwd)
if path.nil?
return @staging_path
@ -233,7 +233,7 @@ class FPM::Package
end # def staging_path
def build_path(path=nil)
@build_path ||= ::Dir.mktmpdir("package-#{type}-build", ::Dir.pwd)
@build_path ||= ::Dir.mktmpdir("package-#{type}-build") #, ::Dir.pwd)
if path.nil?
return @build_path