lib/shaddox/shadow.rb in shaddox-0.0.25 vs lib/shaddox/shadow.rb in shaddox-0.0.26

- old
+ new

@@ -55,11 +55,11 @@ end def ln_s(source, dest, opts = {}) ensure_parent_dir(source) ensure_parent_dir(dest) - info "Linking '#{source}' to '#{dest}'", 1 if @debug + info "Linking '#{source.exp_path}' to '#{dest.exp_path}'", 1 if @debug FileUtils::ln_s(source.exp_path, dest.exp_path, opts) end def mkdir(path) info "Ensuring directory '#{path}' exists", 1 if @debug @@ -111,11 +111,11 @@ end exec "git clone ./vcs #{release_path} --recursive --branch #{repo.branch}" end # Link shared paths + info 'Linking shared paths', 1 if @debug repo.shared.each do |shared_path| - info 'Linking shared paths', 1 if @debug ln_s "#{release_path}/#{shared_path}", "./shared/#{shared_path}" end # Link ./current to the latest release info 'Linking current to latest release', 1 if @debug