Skip to content

Commit

Permalink
Fix a faulty sed command
Browse files Browse the repository at this point in the history
  • Loading branch information
kwankyu committed Oct 29, 2024
1 parent a3d82c2 commit c0a9a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ RUN rm -rf local/share/doc local/share/*/doc local/share/*/examples local/share/
# Remove all __pycache__ directories
RUN find /sage -type d -name "__pycache__" -exec rm -rf {} +
# Remove all .c .cpp files corresponding to .pyx files
RUN find /sage -name "*.pyx" | sed 's/\.pyx$/\.c \0.cpp/' | xargs rm -f +
RUN find /sage -name "*.pyx" | sed 's/\(.*\)[.]pyx$/\1.c \1.cpp/' | xargs rm -f +

FROM ubuntu:jammy
# or FROM ghcr.io/sagemath/sage/sage-ubuntu-jammy-minimal-with-system-packages:latest
Expand Down

0 comments on commit c0a9a04

Please sign in to comment.