gitlab-ci-runner-scala icon indicating copy to clipboard operation
gitlab-ci-runner-scala copied to clipboard

Run git commands separately so shebang would work

Open nafg opened this issue 11 years ago • 0 comments

currently we put the git commands + the CI commands into a temporary file and run it with sh -x -e. This breaks #! shebangs.

Instead, run the git commands as their own process. Then set the working directory when running the script.

nafg avatar Dec 13 '13 04:12 nafg