From 61d0147e494521aff0c4d80abda52abde774c27e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Romain=20Tarti=C3=A8re?= Date: Sat, 7 Apr 2018 11:18:26 +0200 Subject: [PATCH] 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. --- scripts/code_manager_config_version.rb | 1 - scripts/config_version.rb | 1 - 2 files changed, 2 deletions(-) mode change 100755 => 100644 scripts/code_manager_config_version.rb mode change 100755 => 100644 scripts/config_version.rb diff --git a/scripts/code_manager_config_version.rb b/scripts/code_manager_config_version.rb old mode 100755 new mode 100644 index beacabc..521bcfb --- 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 old mode 100755 new mode 100644 index abb3390..5652226 --- a/scripts/config_version.rb +++ b/scripts/config_version.rb @@ -1,4 +1,3 @@ -#!/opt/puppetlabs/puppet/bin/ruby begin require 'rugged' require 'socket'