Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent foreman export from expanding the current/ symlink #241

Merged
merged 1 commit into from
Oct 13, 2014
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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