summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-01-22 13:34:42 +0100
committerErich Eckner <git@eckner.net>2018-01-22 13:34:42 +0100
commit3c6f639d1f04ce849f1ae92fb1b87ae16d1284a2 (patch)
treebd29fcd8f01b6eefd8348a7c7f323a0a95b9942d
parent571c771968611c942162fe5b3132c76ed51af146 (diff)
downloadbuilder-3c6f639d1f04ce849f1ae92fb1b87ae16d1284a2.tar.xz
bin/bootstrap-mysql: assume only one package version is available for each build assignment
-rwxr-xr-xbin/bootstrap-mysql1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/bootstrap-mysql b/bin/bootstrap-mysql
index 1eb98a2..62dad81 100755
--- a/bin/bootstrap-mysql
+++ b/bin/bootstrap-mysql
@@ -425,6 +425,7 @@ find "${work_dir}/package-states" \
-name '*.tested' \
\) \
-exec sed '
+ 1!d
s@^.*-\([^-]\+\)-\([^-.]\+\)\.pkg\.tar\.xz$@{} \1 \2 \0@
s@^\S*/@@
s/^\(\S\+\)\.\(done\|testing\|tested\) /\1 /