Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2023-07-06 09:37:09 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2023-07-06 09:37:09 +0200
commit2a4ea5ee200540d1f54ce70955675917577ff394 (patch)
treef252df2dd87136272ada55ca8a2a875d934f0027
parentc9d63b387c6124bdcd029251118b3d1e0c88a031 (diff)
do not download anything from upstream for build-support packages
-rwxr-xr-xlib/common-functions3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/common-functions b/lib/common-functions
index 1ab3e72..49d6f6f 100755
--- a/lib/common-functions
+++ b/lib/common-functions
@@ -469,7 +469,8 @@ extract_source_directory() {
local pkgtarfile
if [ -n "${revision}" ] \
- && [ "${revision}" != '0000000000000000000000000000000000000000' ]; then
+ && [ "${revision}" != '0000000000000000000000000000000000000000' ] \
+ && [ "${repository}" != 'build-support' ]; then
local pkgbase_translated
pkgbase_translated=$(gitlab_project_name_to_path "${pkgbase}")
tmptarfile=$(mktemp 'tmp.upstream-package.XXXXXXXXXX')