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.
This commit is contained in:
parent
ffc1769d2e
commit
61d0147e49
1
scripts/code_manager_config_version.rb
Executable file → Normal file
1
scripts/code_manager_config_version.rb
Executable file → Normal file
@ -1,4 +1,3 @@
|
||||
#!/opt/puppetlabs/puppet/bin/ruby
|
||||
require 'json'
|
||||
require 'socket'
|
||||
|
||||
|
1
scripts/config_version.rb
Executable file → Normal file
1
scripts/config_version.rb
Executable file → Normal file
@ -1,4 +1,3 @@
|
||||
#!/opt/puppetlabs/puppet/bin/ruby
|
||||
begin
|
||||
require 'rugged'
|
||||
require 'socket'
|
||||
|
Loading…
Reference in New Issue
Block a user