Method: Specinfra::Command::Base::File.check_is_linked_to
- Defined in:
- lib/specinfra/command/base/file.rb
.check_is_linked_to(link, target) ⇒ Object
120 121 122 |
# File 'lib/specinfra/command/base/file.rb', line 120 def check_is_linked_to(link, target) %Q|test x"$(readlink #{escape(link)})" = x"#{escape(target)}"| end |