summaryrefslogtreecommitdiff
path: root/bin/build-master-status-from-mysql
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2018-02-09 21:38:37 +0100
committerErich Eckner <git@eckner.net>2018-02-09 21:38:37 +0100
commitcb6e59fd1e31842425b06722d99b57774fa4e49c (patch)
treee38269417643c636193fc7ea589e0636aae81553 /bin/build-master-status-from-mysql
parentd67478ccbef5f540b597303120b2fd47317680cd (diff)
downloadbuilder-cb6e59fd1e31842425b06722d99b57774fa4e49c.tar.xz
bin/build-master-status-from-mysql: bugfix in adding of sub_pkgrel
Diffstat (limited to 'bin/build-master-status-from-mysql')
-rwxr-xr-xbin/build-master-status-from-mysql4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/build-master-status-from-mysql b/bin/build-master-status-from-mysql
index d1ee9ff..1d0b761 100755
--- a/bin/build-master-status-from-mysql
+++ b/bin/build-master-status-from-mysql
@@ -137,7 +137,7 @@ find "${work_dir}/package-states" -mindepth 1 -maxdepth 1 \
-name '*.tested' \
-exec cat '{}' \; | \
sed '
- s/-\([^-.]\+\)\(-[^-]\+\)$/-\1.0-\2/
+ s/-\([^-.]\+\)\(-[^-]\+\)$/-\1.0\2/
s/-\([^-:]\+\)\(\(-[^-]\+\)\{2\}\)$/-0:\1\2/
' | \
sort -u > \
@@ -173,7 +173,7 @@ find "${work_dir}/package-states" -mindepth 1 -maxdepth 1 \
-name '*.testing' \
-exec cat '{}' \; | \
sed '
- s/-\([^-.]\+\)\(-[^-]\+\)$/-\1.0-\2/
+ s/-\([^-.]\+\)\(-[^-]\+\)$/-\1.0\2/
s/-\([^-:]\+\)\(\(-[^-]\+\)\{2\}\)$/-0:\1\2/
' | \
sort -u > \