diff options
author | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-03-07 17:06:15 +0100 |
---|---|---|
committer | Jacob Vosmaer <contact@jacobvosmaer.nl> | 2014-03-07 17:06:15 +0100 |
commit | 4e22874b691e229d6f151c636b03a7ab5c3f2f7c (patch) | |
tree | 7e5ac4ef69524e091e9dd35425e48d13d1fdfaf7 /hooks/update | |
parent | 79bceae69cb5750d6567b223597999bfa91cb3b9 (diff) | |
download | gitlab-shell-4e22874b691e229d6f151c636b03a7ab5c3f2f7c.tar.gz |
Use built-in Ruby Dir.pwd instead of the shell
Diffstat (limited to 'hooks/update')
-rwxr-xr-x | hooks/update | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hooks/update b/hooks/update index 549afeb..6f762e8 100755 --- a/hooks/update +++ b/hooks/update @@ -6,7 +6,7 @@ refname = ARGV[0] key_id = ENV['GL_ID'] -repo_path = `pwd` +repo_path = Dir.pwd require_relative '../lib/gitlab_update' |