summaryrefslogtreecommitdiff
path: root/hooks/update
diff options
context:
space:
mode:
authorJacob Vosmaer <contact@jacobvosmaer.nl>2014-03-07 17:06:15 +0100
committerJacob Vosmaer <contact@jacobvosmaer.nl>2014-03-07 17:06:15 +0100
commit4e22874b691e229d6f151c636b03a7ab5c3f2f7c (patch)
tree7e5ac4ef69524e091e9dd35425e48d13d1fdfaf7 /hooks/update
parent79bceae69cb5750d6567b223597999bfa91cb3b9 (diff)
downloadgitlab-shell-4e22874b691e229d6f151c636b03a7ab5c3f2f7c.tar.gz
Use built-in Ruby Dir.pwd instead of the shell
Diffstat (limited to 'hooks/update')
-rwxr-xr-xhooks/update2
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'