Skip to content

Commit

Permalink
FC002: Avoid string interpolation where not required
Browse files Browse the repository at this point in the history
  • Loading branch information
flaccid committed Oct 17, 2015
1 parent daeec7f commit 4f8212c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/arch/profile.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ umask 022
# Set our default path
<% unless @profile[:path].empty? %>
<% if @profile[:path_append] %>
PATH="<%= "#{@profile[:path].join ':'}:" %>/usr/local/sbin:/usr/local/bin:/usr/bin"
PATH="<%= @profile[:path].join ':' %>:/usr/local/sbin:/usr/local/bin:/usr/bin"
<% else %>
PATH=<%= "#{@profile[:path].join ':'}" %>
PATH=<%= @profile[:path].join ':' %>
<% end %>
<% else %>
PATH="/usr/local/sbin:/usr/local/bin:/usr/bin"
Expand Down

0 comments on commit 4f8212c

Please sign in to comment.