File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ RUN <<EOF
39
39
EOF
40
40
41
41
RUN --mount=src=.,dst=/input <<EOF
42
- for s in /input/*.sh; do cp $s /usr/bin/$(echo $s | sed -e 's|.*/||' -e 's/ \. sh$//' ); done
42
+ for s in /input/*.sh; do cp "$s" /usr/bin/$(basename "$s" .sh ); done
43
43
cp input/cross.meson input/toolchain.cmake /
44
44
EOF
45
45
@@ -49,7 +49,7 @@ RUN <<EOF
49
49
dnf5 install mingw32-{gcc{,-c++},libgomp}
50
50
dnf5 clean all
51
51
find /usr/*mingw*/* -type f -name "*.dll*" -delete
52
- rm -rf /tmp/* /usr/share/doc/* /var/cache/* /var/lib/dnf/history.* /var/log/* /var/tmp/*
52
+ rm -rf /tmp/* /usr/share/doc/* /usr/i686-w64-mingw32ucrt/sys-root/mingw/share/locale/* /usr/i686-w64-mingw32ucrt/sys-root/mingw/share/man/* / var/cache/* /var/lib/dnf/history.* /var/log/* /var/tmp/*
53
53
mkdir /opt/ffbuild
54
54
EOF
55
55
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ RUN <<EOF
39
39
EOF
40
40
41
41
RUN --mount=src=.,dst=/input <<EOF
42
- for s in /input/*.sh; do cp $s /usr/bin/$(echo $s | sed -e 's|.*/||' -e 's/ \. sh$//' ); done
42
+ for s in /input/*.sh; do cp "$s" /usr/bin/$(basename "$s" .sh ); done
43
43
cp input/cross.meson input/toolchain.cmake /
44
44
EOF
45
45
@@ -49,7 +49,7 @@ RUN <<EOF
49
49
dnf5 install ucrt64-{gcc{,-c++},libgomp}
50
50
dnf5 clean all
51
51
find /usr/*mingw*/* -type f -name "*.dll*" -delete
52
- rm -rf /tmp/* /usr/share/doc/* /var/cache/* /var/lib/dnf/history.* /var/log/* /var/tmp/*
52
+ rm -rf /tmp/* /usr/share/doc/* /usr/x86_64-w64-mingw32ucrt/sys-root/mingw/share/locale/* /usr/x86_64-w64-mingw32ucrt/sys-root/mingw/share/man/* / var/cache/* /var/lib/dnf/history.* /var/log/* /var/tmp/*
53
53
mkdir /opt/ffbuild
54
54
EOF
55
55
You can’t perform that action at this time.
0 commit comments