lib/sprinkle/installers/push_text.rb in lachlan-sprinkle-0.0.14 vs lib/sprinkle/installers/push_text.rb in lachlan-sprinkle-0.0.15
- old
+ new
@@ -35,10 +35,10 @@
end
protected
def install_commands #:nodoc:
- "echo '#{@text}' |#{'sudo' if option?(:sudo)} tee -a #{@path}"
+ "echo -e '#{@text.gsub("\n", '\n')}' |#{'sudo' if option?(:sudo)} tee -a #{@path}"
end
end
end
end