File indexing completed on 2025-01-05 04:33:33

0001 #!/bin/bash
0002 
0003 set -e
0004 
0005 _gitroot="$(cd $(dirname "$0") && echo $PWD)"
0006 while [[ ! -d "$_gitroot/.git" ]]; do _gitroot="$(dirname "$_gitroot")" ; [[ "$_gitroot" == "/" ]] && echo "ERROR: cannot find .git directory" && exit 1 ; done
0007 cd "$_gitroot"
0008 
0009 sudo docker run --rm -v "$PWD":/home/devel -it maxrd2/arch-mingw /bin/bash -c 'bash pkg/mingw/build.sh'