Skip to content

Commit a056894

Browse files
committed
fix(test): remove -K ssh-add option that isn't available on Linux
The Mac OS X version of `ssh-add` has the `-K` flag to update the passphrase, but `ssh-add` in Ubuntu 14.04 LTS does not.
1 parent 14076a5 commit a056894

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/Rakefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ EXAMPLE_APP = ENV['DEIS_TEST_APP'] || 'example-ruby-sinatra'
1212
namespace :setup do
1313
task :all => ['create_ssh_key','clone_example_app']
1414
task :create_ssh_key do
15-
run_command("if [ ! -f #{AUTH_KEY} ]; then ssh-keygen -q -t rsa -f #{AUTH_KEY} -N '' -C deis && ssh-add -K #{AUTH_KEY} ; fi")
15+
run_command("if [ ! -f #{AUTH_KEY} ]; then ssh-keygen -q -t rsa -f #{AUTH_KEY} -N '' -C deis && ssh-add #{AUTH_KEY} ; fi")
1616
end
1717
task :clone_example_app do
1818
run_command("if [ ! -d ./#{EXAMPLE_APP} ]; then git clone https://github.com/opdemand/#{EXAMPLE_APP}.git ; fi")

0 commit comments

Comments
 (0)