lib/specinfra/command/base/file.rb in specinfra-2.63.3 vs lib/specinfra/command/base/file.rb in specinfra-2.64.0
- old
+ new
@@ -176,9 +176,10 @@
end
def link_to(link, target, options = {})
option = '-s'
option << 'f' if options[:force]
+ option << 'n' if options[:no_dereference]
"ln #{option} #{escape(target)} #{escape(link)}"
end
def remove(file)
"rm -rf #{escape(file)}"