Skip to content

Commit

Permalink
Merge pull request #16 from ika-rwth-aachen/fix/no-repos
Browse files Browse the repository at this point in the history
Fix non-recursive vcs import if no .repos is present
  • Loading branch information
lreiher authored Oct 20, 2023
2 parents 900fbeb + 66a493c commit 85423ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ ARG VCS_IMPORT_FILE=".repos"
ARG ENABLE_RECURSIVE_VCS_IMPORT="true"
RUN if [[ $ENABLE_RECURSIVE_VCS_IMPORT == 'true' ]]; then \
/usr/local/bin/recursive_vcs_import.py src src/upstream ; \
else \
[[ -f src/target/${VCS_IMPORT_FILE} ]] && vcs import --recursive src/upstream < src/target/${VCS_IMPORT_FILE} ; \
elif [[ -f src/target/${VCS_IMPORT_FILE} ]]; then \
vcs import --recursive src/upstream < src/target/${VCS_IMPORT_FILE} ; \
fi

# remove blacklisted packages from workspace
Expand Down

0 comments on commit 85423ac

Please sign in to comment.