4 # Called from update-versions (inside the lock) to process all *.versions
9 cd "/org/bugs.debian.org/versions/queue/$SOURCE"
11 find . -maxdepth 1 -name \*.versions -printf '%P\n' | while read x; do
13 if (/(\w[-+0-9a-z.]+) \(([^\(\) \t]+)\)/) {
16 END { print join(" ", @v), "\n"; }
18 | /org/bugs.debian.org/versions/bin/merge-one-version "$x" \
21 pkghash="$(echo "$pkg" | cut -b 1)"
22 mkdir -p "/org/bugs.debian.org/versions/archive/$SOURCE/$pkghash/$pkg"
23 mv "$x" "/org/bugs.debian.org/versions/archive/$SOURCE/$pkghash/$pkg/$x"