Skip to content

Commit

Permalink
fix handling of recursive additional deps file
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbusch committed Oct 11, 2023
1 parent 37a86f2 commit 19e2b4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ ARG ENABLE_RECURSIVE_ADDITIONAL_DEBS="false"
RUN echo "apt-get install -y \\" >> $WORKSPACE/.install-dependencies.sh && \
set -o pipefail && \
if [[ $ENABLE_RECURSIVE_ADDITIONAL_DEBS == 'true' ]]; then \
find . -type f -name $(basename {ADDITIONAL_DEBS_FILE}) -exec sed '$a\' {} \; | awk '{print " " $0 " \\"}' >> $WORKSPACE/.install-dependencies.sh ; \
find . -type f -name $(basename ${ADDITIONAL_DEBS_FILE}) -exec sed '$a\' {} \; | awk '{print " " $0 " \\"}' >> $WORKSPACE/.install-dependencies.sh ; \
elif [[ -f src/target/${ADDITIONAL_DEBS_FILE} ]]; then \
cat src/target/${ADDITIONAL_DEBS_FILE} | awk '{print " " $0 " \\"}' >> $WORKSPACE/.install-dependencies.sh ; \
fi && \
Expand Down

0 comments on commit 19e2b4d

Please sign in to comment.