summaryrefslogtreecommitdiff
path: root/bin/gitlab-shell
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-05 10:28:19 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-02-05 10:28:19 +0200
commit58347e5321e42a1ea66663f96454dbb8632a0017 (patch)
tree3bbe572ac808345c4ab73b3a20a7f12b725f61cf /bin/gitlab-shell
parent2b01b84f8d0cf469bdd3b031b1658db6fd8c0f52 (diff)
downloadgitlab-shell-58347e5321e42a1ea66663f96454dbb8632a0017.tar.gz
gitlab-init
Diffstat (limited to 'bin/gitlab-shell')
-rwxr-xr-xbin/gitlab-shell6
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/gitlab-shell b/bin/gitlab-shell
index 0c3b654..4b3dc16 100755
--- a/bin/gitlab-shell
+++ b/bin/gitlab-shell
@@ -4,10 +4,14 @@ unless ENV['SSH_CONNECTION']
puts "Only ssh allowed"
exit
end
+
+require_relative '../lib/gitlab_init'
+
+#
#
# GitLab shell, invoked from ~/.ssh/authorized_keys
#
-ROOT_PATH = File.join(File.expand_path(File.dirname(__FILE__)), "..")
+#
require File.join(ROOT_PATH, 'lib', 'gitlab_shell')
GitlabShell.new.exec