Skip to content

Commit c9931ce

Browse files
committed
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 #40
1 parent fcab12f commit c9931ce

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

scripts/code_manager_config_version.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env ruby
12
require 'json'
23

34
environmentpath = ARGV[0]

scripts/config_version.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
#!/usr/bin/env ruby
12
begin
23
require 'rugged'
34
rescue LoadError => e

0 commit comments

Comments
 (0)