Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Unbreak build on the mac #33

Closed
wants to merge 1 commit into from

2 participants

@hawknewton

Changed 'sed --in-place' to 'sed -i'. Tested on both mac and RHAS.

@ripienaar

nice, thank you.

This is a bit annoying for such a small change but if I wnt to merge it I will need to get you to open a ticket @ projects.puppetlabs.com and sign the CLA there.

else given its such a smal change even if you just open a ticket and mention the problem I'll gladly fix it without the CLA the code wil then just not reflect that its from you

@hawknewton

I'll likely be contributing to the plugin repo, so I've gone ahead and signed the CLA.

Here's the mco bug #13324

@ripienaar

Thanks, I've merged this code

@ripienaar ripienaar closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  Rakefile
View
2  Rakefile
@@ -92,7 +92,7 @@ task :package => [:clean, :doc] do
safe_system("cp -R #{PROJ_FILES.join(' ')} build/#{PROJ_NAME}-#{CURRENT_VERSION}")
announce "Setting MCollective.version to #{CURRENT_VERSION}"
- safe_system("cd build/#{PROJ_NAME}-#{CURRENT_VERSION}/lib && sed --in-place -e s/@DEVELOPMENT_VERSION@/#{CURRENT_VERSION}/ mcollective.rb")
+ safe_system("cd build/#{PROJ_NAME}-#{CURRENT_VERSION}/lib && sed -i -e s/@DEVELOPMENT_VERSION@/#{CURRENT_VERSION}/ mcollective.rb")
safe_system("cd build && tar --exclude .svn -cvzf #{PROJ_NAME}-#{CURRENT_VERSION}.tgz #{PROJ_NAME}-#{CURRENT_VERSION}")
end
Something went wrong with that request. Please try again.