Skip to content

Commit

Permalink
Merge pull request #241 from postmodern/patch-2
Browse files Browse the repository at this point in the history
Prevent foreman export from expanding the current/ symlink
  • Loading branch information
gabskoro committed Oct 13, 2014
2 parents 3f76668 + 1461046 commit 1c1ab1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mina/foreman.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
desc 'Export the Procfile to Ubuntu upstart scripts'
task :export do
sudo_cmd = "sudo" if foreman_sudo
export_cmd = "#{sudo_cmd} bundle exec foreman export #{foreman_format} #{foreman_location} -a #{foreman_app} -u #{foreman_user} -l #{foreman_log}"
export_cmd = "#{sudo_cmd} bundle exec foreman export #{foreman_format} #{foreman_location} -a #{foreman_app} -u #{foreman_user} -d #{deploy_to!}/#{current_path!} -l #{foreman_log}"

queue %{
echo "-----> Exporting foreman procfile for #{foreman_app}"
Expand Down

0 comments on commit 1c1ab1d

Please sign in to comment.