Skip to content

Correctly determine the root directory for gitlab-shell

Nick Thomas requested to merge (removed):fix-determine-root-dir into master

os.Executable is the preferred way to do this; os.Args[0] doesn't always work.

The impact is simply that we fall back to the ruby interpreter in all instances, but it's worth fixing!

Credit to @ejiek for spotting this one. Initial MR in !252 (closed)

Merge request reports