Skip to content

Commit

Permalink
.ci/write-dockerfile.sh: Remove old .git file at the beginning, remov…
Browse files Browse the repository at this point in the history
…e new .git file at the end
  • Loading branch information
mkoeppe committed Jun 4, 2024
1 parent d068c8d commit 7fb0323
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .ci/write-dockerfile.sh
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ cat <<EOF
FROM with-system-packages as bootstrapped
#:bootstrapping:
RUN rm -rf /new
RUN rm -rf /new /sage/.git
$ADD Makefile VERSION.txt COPYING.txt condarc.yml README.md bootstrap bootstrap-conda configure.ac sage .homebrew-build-env tox.ini Pipfile.m4 .gitignore /new/
$ADD config/config.rpath /new/config/config.rpath
$ADD src/doc/bootstrap /new/src/doc/bootstrap
Expand Down Expand Up @@ -348,7 +348,7 @@ RUN cd /new && rm -rf .git && \
mv src /sage/src; \
cd /sage && ./bootstrap && ./config.status; \
fi; \
cd /sage && rm -rf /new
cd /sage && rm -rf /new .git
ARG TARGETS="build"
$RUN $CHECK_STATUS_THEN make SAGE_SPKG="sage-spkg -y -o" \${USE_MAKEFLAGS} \${TARGETS} $ENDRUN $THEN_SAVE_STATUS
Expand Down

0 comments on commit 7fb0323

Please sign in to comment.