index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/copy-to-build-support | 8 |
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" |