diff --git a/Makefile b/Makefile index 55f7641..5ad14b4 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,8 @@ endif ifeq (${DISTRO},manjaro) DISTRO := archlinux +else ifeq (${DISTRO},arch) +DISTRO := archlinux endif $(warning Building on ${DISTRO}) diff --git a/tools/dockerbuild.sh b/tools/dockerbuild.sh index 6fc3ca6..95549d8 100755 --- a/tools/dockerbuild.sh +++ b/tools/dockerbuild.sh @@ -24,10 +24,9 @@ case "${DISTRO}" in try pacman -S --noconfirm base-devel python meson lsb-release git # Work around makepkg brain-damage and build as nobody - try mkdir -p /tmp/build try cp -r /srcs /tmp/build try chown -R nobody:nobody /tmp/build - cd /tmp/build + try cd /tmp/build try sudo -u nobody make try cp build/* /srcs/build ;;