From 2a163a1754fd22573470e81ecd9727bbe96c43ba Mon Sep 17 00:00:00 2001 From: Jacob Vosmaer Date: Wed, 3 May 2017 16:13:52 +0200 Subject: Explain chdir --- lib/gitlab_shell.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'lib') diff --git a/lib/gitlab_shell.rb b/lib/gitlab_shell.rb index 33a5592..d905bd7 100644 --- a/lib/gitlab_shell.rb +++ b/lib/gitlab_shell.rb @@ -158,6 +158,7 @@ class GitlabShell }) end + # We use 'chdir: ROOT_PATH' to let the next executable know where config.yml is. Kernel::exec(env, *args, unsetenv_others: true, chdir: ROOT_PATH) end -- cgit v1.2.1