diff options
author | mail_redacted_for_web | 2018-04-07 11:18:26 +0200 |
---|---|---|
committer | mail_redacted_for_web | 2018-05-11 22:26:49 +0200 |
commit | 61d0147e494521aff0c4d80abda52abde774c27e (patch) | |
tree | f7ab9d370db7cd6fde2b0e2b7708d7d2586bdfbb | |
parent | ffc1769d2e9ab6057d44660e2ef4430a70652836 (diff) | |
download | control-repo-template-61d0147e494521aff0c4d80abda52abde774c27e.tar.bz2 |
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.
-rw-r--r--[-rwxr-xr-x] | scripts/code_manager_config_version.rb | 1 | ||||
-rw-r--r--[-rwxr-xr-x] | scripts/config_version.rb | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/scripts/code_manager_config_version.rb b/scripts/code_manager_config_version.rb index beacabc..521bcfb 100755..100644 --- a/scripts/code_manager_config_version.rb +++ b/scripts/code_manager_config_version.rb @@ -1,4 +1,3 @@ -#!/opt/puppetlabs/puppet/bin/ruby require 'json' require 'socket' diff --git a/scripts/config_version.rb b/scripts/config_version.rb index abb3390..5652226 100755..100644 --- a/scripts/config_version.rb +++ b/scripts/config_version.rb @@ -1,4 +1,3 @@ -#!/opt/puppetlabs/puppet/bin/ruby begin require 'rugged' require 'socket' |