Commit 3d8be85d authored by Eric Frias's avatar Eric Frias Committed by Dan Notestein
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 562e2aaf
Loading
Loading
Loading
Loading