diff options
| author | Jacob Vosmaer <jacob@gitlab.com> | 2017-05-03 16:13:52 +0200 |
|---|---|---|
| committer | Jacob Vosmaer <jacob@gitlab.com> | 2017-05-23 15:26:35 +0200 |
| commit | 2a163a1754fd22573470e81ecd9727bbe96c43ba (patch) | |
| tree | 64a86f52f28a875ec2a80e0f84a85a8ecbebe0fe | |
| parent | 5fd923bd748cf789d687dd2e2eac9cb308a1febb (diff) | |
| download | gitlab-shell-2a163a1754fd22573470e81ecd9727bbe96c43ba.tar.gz | |
Explain chdir
| -rw-r--r-- | lib/gitlab_shell.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 |
