Add ruby shebang to config_version scripts
Prior to this commit, if you used windows bash git when you clone down the repo these files would get incorrect permissions which make them unexecutable. After this commit, due to some windows bash git magic I don't understand it appears that adding the shebang to the beginning of the file causes windows bash git to change the permissions to so the file is executable. This resolves https://github.com/puppetlabs/control-repo/issues/40
This commit is contained in:
parent
fcab12f772
commit
c9931ceef7
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env ruby
|
||||
require 'json'
|
||||
|
||||
environmentpath = ARGV[0]
|
||||
|
@ -1,3 +1,4 @@
|
||||
#!/usr/bin/env ruby
|
||||
begin
|
||||
require 'rugged'
|
||||
rescue LoadError => e
|
||||
|
Loading…
Reference in New Issue
Block a user