Add quotes around UID variable.

On my own system, this variable isn't set, which cases the command to fail.
This commit is contained in:
pentarctagon 2019-11-15 19:05:23 -06:00
parent d83fd5d9c8
commit 9a34cbb329
No known key found for this signature in database
GPG key ID: 29E48D667D52CCF3

View file

@ -4,4 +4,4 @@ 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
docker run -it -v "$PWD"/../../..:/wesnoth -v "$PWD"/../mingwbuild:/output --tmpfs /build -u "$UID" mingw-wesnoth