install: keep_file must be a Pathname.
This commit is contained in:
parent
878b79d456
commit
8d6ac3869c
@ -25,7 +25,7 @@ module Homebrew
|
||||
begin
|
||||
FileUtils.mkdir_p(dir) unless dir.exist?
|
||||
|
||||
keep_file = "#{dir}/.keepme"
|
||||
keep_file = dir/".keepme"
|
||||
FileUtils.touch(keep_file) unless keep_file.exist?
|
||||
rescue
|
||||
nil
|
||||
|
Loading…
x
Reference in New Issue
Block a user