Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/build-packages6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/build-packages b/bin/build-packages
index f064556..22f86a9 100755
--- a/bin/build-packages
+++ b/bin/build-packages
@@ -163,9 +163,11 @@ while [ ${count} -ne 0 ]; do
'
)"
git_repo="$(find_git_repository_to_package_repository "${repository}")"
- if wget -nc -nd "https://sources.archlinux.org/sources/${git_repo}/${source_name}"; then
- tar -xzkf "${source_name}" --exclude PKGBUILD --strip-components=1 || true
+ if ! wget -nc -nd "https://sources.archlinux.org/sources/${git_repo}/${source_name}"; then
+ # we can't improve anything
+ break
fi
+ tar -xzkf "${source_name}" --exclude PKGBUILD --strip-components=1 || true
fi
for parameters in '' '-c'; do