diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-05 10:28:19 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-05 10:28:19 +0200 |
commit | 58347e5321e42a1ea66663f96454dbb8632a0017 (patch) | |
tree | 3bbe572ac808345c4ab73b3a20a7f12b725f61cf /bin/gitlab-keys | |
parent | 2b01b84f8d0cf469bdd3b031b1658db6fd8c0f52 (diff) | |
download | gitlab-shell-58347e5321e42a1ea66663f96454dbb8632a0017.tar.gz |
gitlab-init
Diffstat (limited to 'bin/gitlab-keys')
-rwxr-xr-x | bin/gitlab-keys | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bin/gitlab-keys b/bin/gitlab-keys index dc3876b..e6780ca 100755 --- a/bin/gitlab-keys +++ b/bin/gitlab-keys @@ -1,5 +1,7 @@ #!/usr/bin/env ruby +require_relative '../lib/gitlab_init' + # # GitLab Keys shell. Add/remove keys from ~/.ssh/authorized_keys # @@ -8,7 +10,7 @@ # # /bin/gitlab-keys rm-key dzaporozhets "ssh-rsa AAAAx321..." # -ROOT_PATH = File.join(File.expand_path(File.dirname(__FILE__)), "..") + require File.join(ROOT_PATH, 'lib', 'gitlab_keys') GitlabKeys.new.exec |