Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/copy-to-build-support8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/copy-to-build-support b/bin/copy-to-build-support
index 8625d21..8388675 100755
--- a/bin/copy-to-build-support
+++ b/bin/copy-to-build-support
@@ -144,6 +144,14 @@ sed -n '
"${tmp_dir}/mysql-command"
done
+if [ ! -s "${tmp_dir}/repo-archs" ]; then
+ >&2 echo 'Nothing to do.'
+ if [ -w "$1" ]; then
+ printf '' > "$1"
+ fi
+ exit 0
+fi
+
sort -u "${tmp_dir}/repo-archs" | \
sponge "${tmp_dir}/repo-archs"