X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=util%2Ftravis_build.sh;h=554ec8b689656b86b2b7066ec99d7678cdfd6e23;hb=f9c0936cea630e078618bfd8ef3b686dacce2e76;hp=02a749e851e7736ad0d5706c04fea87638c1b948;hpb=dabd73b769f6f0e08dd01d4bcd02d71bc5deaa8d;p=qmk_firmware.git diff --git a/util/travis_build.sh b/util/travis_build.sh index 02a749e85..554ec8b68 100755 --- a/util/travis_build.sh +++ b/util/travis_build.sh @@ -3,7 +3,7 @@ # if docker is installed - call make within the qmk docker image if command -v docker >/dev/null; then function make() { - docker run --rm -e MAKEFLAGS="$MAKEFLAGS" -w /qmk_firmware/ -v "$PWD":/qmk_firmware qmkfm/qmk_firmware make "$@" + docker run --rm -e MAKEFLAGS="$MAKEFLAGS" -w /qmk_firmware/ -v "$PWD":/qmk_firmware --user $(id -u):$(id -g) qmkfm/qmk_firmware make "$@" } fi