srmp/msys2.fix.sh

18 lines
281 B
Bash
Raw Permalink Normal View History

2024-04-10 16:53:59 +00:00
#! /usr/bin/env bash
FILE="$(realpath "${BASH_SOURCE[0]}")"
2024-09-28 20:12:09 +00:00
cd "$(dirname "${FILE}")" ||
exit
2024-04-10 16:53:59 +00:00
ROOT='root/msys2'
rm s/msys/*.tar
rm i/mingw/mingw64/*.tar
2024-09-28 19:19:02 +00:00
rm -fr "${ROOT}/msys/x86_64"
mv -i s/msys "${ROOT}/msys/x86_64"
rm -fr "${ROOT}/mingw"
mv -i i/mingw "${ROOT}/"
2024-04-10 16:53:59 +00:00
rmdir s i