Skip to content

Commit

Permalink
fix build with no package overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
alkazar committed Apr 6, 2023
1 parent 64938ad commit 73fa5e3
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 73fa5e3

Please sign in to comment.