diff options
author | Ash McKenzie <amckenzie@gitlab.com> | 2019-10-09 02:20:36 +0000 |
---|---|---|
committer | Ash McKenzie <amckenzie@gitlab.com> | 2019-10-09 02:20:36 +0000 |
commit | e28f75c8d439812f61c4cf0c0291380df4d17106 (patch) | |
tree | 5e4ae582eb3aa506c57f954d2a1483fe5e003a2b /bin | |
parent | 1ee64eeaea71210e89040438489edac4701a1854 (diff) | |
parent | 1a3e687f772047988b9bcaeb471d94d6f49a853e (diff) | |
download | gitlab-shell-e28f75c8d439812f61c4cf0c0291380df4d17106.tar.gz |
Merge branch '173-remove-bin-install-command' into 'master'
Decouple `bin/compile` and `bin/install` from code in `lib/`
See merge request gitlab-org/gitlab-shell!340
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/install | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/bin/install b/bin/install index e9c1654..d6e5357 100755 --- a/bin/install +++ b/bin/install @@ -1,10 +1,8 @@ #!/usr/bin/env ruby -require_relative '../lib/gitlab_init' - -# -# GitLab shell, invoked from ~/.ssh/authorized_keys -# +# Load ROOT_PATH and access the minimum necessary config file +require_relative '../support/go_build' +require_relative '../support/gitlab_config' config = GitlabConfig.new key_dir = File.dirname("#{config.auth_file}") |