Add explicit mkpath to Pathname#write_exec_script
This commit is contained in:
parent
b2c42fc63c
commit
d96f15e324
@ -348,6 +348,7 @@ class Pathname
|
||||
opoo "tried to write exec scripts to #{self} for an empty list of targets"
|
||||
return
|
||||
end
|
||||
mkpath
|
||||
targets.each do |target|
|
||||
target = Pathname.new(target) # allow pathnames or strings
|
||||
(self+target.basename()).write <<-EOS.undent
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user