wesnoth/utils/dockerbuilds/make_mingw_build
pentarctagon 9a34cbb329
Add quotes around UID variable.
On my own system, this variable isn't set, which cases the command to fail.
2019-11-15 19:05:23 -06:00

8 lines
211 B
Bash
Executable File

#!/bin/sh -xe
cd mingw
docker build -t mingw-wesnoth .
rm -rf ../mingwbuild
mkdir ../mingwbuild
docker run -it -v "$PWD"/../../..:/wesnoth -v "$PWD"/../mingwbuild:/output --tmpfs /build -u "$UID" mingw-wesnoth