Skip to content

Commit

Permalink
Add ruby shebang to config_version scripts
Browse files Browse the repository at this point in the history
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 #40
  • Loading branch information
npwalker committed Nov 22, 2016
1 parent fcab12f commit c9931ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions scripts/code_manager_config_version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env ruby
require 'json'

environmentpath = ARGV[0]
Expand Down
1 change: 1 addition & 0 deletions scripts/config_version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env ruby
begin
require 'rugged'
rescue LoadError => e
Expand Down

0 comments on commit c9931ce

Please sign in to comment.