Skip to content

Commit 61d0147

Browse files
committed
Remove execute permission and shebangs
The appropriate ruby interpreter is determined by the config_version.sh shell script which explicitely use it to start these ruby scripts. Removing the execute bit ensure users will not run these script with the wrong Ruby version.
1 parent ffc1769 commit 61d0147

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

scripts/code_manager_config_version.rb

100755100644
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/opt/puppetlabs/puppet/bin/ruby
21
require 'json'
32
require 'socket'
43

scripts/config_version.rb

100755100644
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/opt/puppetlabs/puppet/bin/ruby
21
begin
32
require 'rugged'
43
require 'socket'

0 commit comments

Comments
 (0)