diff options
author | Erich Eckner <git@eckner.net> | 2018-02-09 21:38:37 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2018-02-09 21:38:37 +0100 |
commit | cb6e59fd1e31842425b06722d99b57774fa4e49c (patch) | |
tree | e38269417643c636193fc7ea589e0636aae81553 /bin | |
parent | d67478ccbef5f540b597303120b2fd47317680cd (diff) | |
download | builder-cb6e59fd1e31842425b06722d99b57774fa4e49c.tar.xz |
bin/build-master-status-from-mysql: bugfix in adding of sub_pkgrel
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/build-master-status-from-mysql | 4 |
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 > \ |