srmp/msys2.fix.sh

14 lines
275 B
Bash
Raw Normal View History

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