Commit 1b34b191 authored by Eric Frias's avatar Eric Frias
Browse files

Wrap pre_get_sources_script in subshell to preserve working directory

The cd command was leaving GitLab Runner in the project directory,
which may have caused "Unable to read current working directory" errors
when the subsequent git operations expected to be in a different directory.

Also added a guard against empty submodule names.
parent 20e20b33
Loading
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment