lib/docman/commands/create_symlink_cmd.rb in docman-0.0.25 vs lib/docman/commands/create_symlink_cmd.rb in docman-0.0.26
- old
+ new
@@ -16,9 +16,10 @@
source_path = File.join(@context['docroot_config'].docroot_dir, self['target_dir'])
Dir.chdir source_path
source_pathname = Pathname.new source_path
target_pathname = Pathname.new @context['full_build_path']
relative_path = target_pathname.relative_path_from source_pathname
- puts `ln -f -s #{relative_path} .`
+ `ln -f -s #{relative_path} .`
+ log "Created symlink in #{source_path} dir: '#{@context['name']}' to '#{relative_path}'"
end
end
end
\ No newline at end of file