From 73fa5e3b5f3adf47154fcd58083d8df4dccba598 Mon Sep 17 00:00:00 2001 From: Alesh Slovak Date: Wed, 5 Apr 2023 20:08:33 -0400 Subject: [PATCH] fix build with no package overrides --- build.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index c8897e584..9fcc4cadf 100755 --- a/build.sh +++ b/build.sh @@ -58,12 +58,11 @@ fi # download package overrides mkdir ${BUILD_PATH}/extra_pkgs if [ -n "${PACKAGE_OVERRIDES}" ]; then + # download and install package overrides for use during build wget --directory-prefix=${BUILD_PATH}/extra_pkgs ${PACKAGE_OVERRIDES} + pacman --noconfirm -U --overwrite '*' ${BUILD_PATH}/extra_pkgs/* fi -# install package overrides for use during build -pacman --noconfirm -U --overwrite '*' ${BUILD_PATH}/extra_pkgs/* - export GIT_ALLOW_PROTOCOL=file:https:git # build own PKGBUILDs and install them before anything else mkdir -p /tmp/pkgs