git.lirion.de

Of git, get, and gud

summaryrefslogtreecommitdiffstats
path: root/scripts/code_manager_config_version.rb
diff options
context:
space:
mode:
authormail_redacted_for_web 2018-04-07 11:13:41 +0200
committermail_redacted_for_web 2018-05-11 22:25:27 +0200
commitffc1769d2e9ab6057d44660e2ef4430a70652836 (patch)
treee25e91b8dfb19703bd8d113570e3f48d2cb85ed1 /scripts/code_manager_config_version.rb
parentf69ffd8ce1a995892c7bca84d8c67e0c1a39a47e (diff)
downloadcontrol-repo-template-ffc1769d2e9ab6057d44660e2ef4430a70652836.tar.bz2
Improve portability
- Fix shebang: `bash` is not always in `/bin/`, and since the script does not have bashism, rely on `sh` which is always in `/bin/`; - Use `/opt/puppetlabs/puppet/bin/ruby` if this file exist and is executable, otherwise use `ruby` from $PATH; - Use `code_manager_config_version.rb` if `.r10k-deploy.json` is found, and `config_version.rb` in all other cases.
Diffstat (limited to 'scripts/code_manager_config_version.rb')
0 files changed, 0 insertions, 0 deletions