Skip to content
Browse files

Update issue 54:

Apply patch to mcollective executables to use #!/usr/bin/env ruby to
improve cross platform support
  • Loading branch information...
1 parent 0076709 commit b783e38e9f4786e6922fff31e5ff5ac719fc70a8 @ripienaar ripienaar committed
Showing with 11 additions and 11 deletions.
  1. +1 −1 ext/ec2demo/start-mcollective-demo.rb
  2. +1 −1 ext/mc-rpc-restserver.rb
  3. +1 −1 ext/stompclient
  4. +1 −1 mc-call-agent
  5. +1 −1 mc-controller
  6. +1 −1 mc-facts
  7. +1 −1 mc-find-hosts
  8. +1 −1 mc-ping
  9. +1 −1 mc-rpc
  10. +1 −1 mc-rpc-help
  11. +1 −1 mcollectived.rb
View
2 ext/ec2demo/start-mcollective-demo.rb
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby
+#!/usr/bin/env ruby
require 'rubygems'
require 'facter'
View
2 ext/mc-rpc-restserver.rb
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby
+#!/usr/bin/env ruby
# A very simple demonstration of writing a REST server
# for Simple RPC clients that takes requests over HTTP
View
2 ext/stompclient
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby
+#!/usr/bin/env ruby
# == Synopsis
#
# stompclient: Generic client to consume and produce STOMP queues and topics, tested against
View
2 mc-call-agent
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby
+#!/usr/bin/env ruby
require 'mcollective'
require 'pp'
View
2 mc-controller
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby
+#!/usr/bin/env ruby
require 'mcollective'
require 'pp'
View
2 mc-facts
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby
+#!/usr/bin/env ruby
require 'mcollective'
View
2 mc-find-hosts
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby
+#!/usr/bin/env ruby
require 'mcollective'
View
2 mc-ping
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby
+#!/usr/bin/env ruby
require 'mcollective'
View
2 mc-rpc
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby
+#!/usr/bin/env ruby
# Generic client for MCollective Simple RPC
#
View
2 mc-rpc-help
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby
+#!/usr/bin/env ruby
# Shows help for introspection enabled SimpleRPC agents
#
View
2 mcollectived.rb
@@ -1,4 +1,4 @@
-#!/usr/bin/ruby
+#!/usr/bin/env ruby
require 'mcollective'
require 'getoptlong'

0 comments on commit b783e38

Please sign in to comment.
Something went wrong with that request. Please try again.