lib/teapot/controller/fetch.rb in teapot-1.0.0.pre.rc9 vs lib/teapot/controller/fetch.rb in teapot-1.0.0.pre.rc10
- old
+ new
@@ -79,10 +79,10 @@
log "Linking local #{package}...".color(:cyan)
local_path = context.root + package.options[:local]
# Make the top level directory if required:
- destination_path.dirname.mkpath
+ destination_path.dirname.create
unless destination_path.exist?
destination_path.make_symlink(local_path)
end
elsif package.external?