# now read it. As its signed by us we are sure the content is what we expect, no need
# to do more here. And we only test -d a directory on it anyway.
TSTAMP=$(cat timestamp)
...
...
@@ -313,7 +313,7 @@ function mkfilesindices() {
ARCHLIST=$(tempfile)
log "Querying projectb..."
echo'SELECT l.path, f.filename, a.arch_string FROM location l JOIN files f ON (f.location = l.id) LEFT OUTER JOIN (binaries b JOIN architecture a ON (b.architecture = a.id)) ON (f.id = b.file)' | psql projectb -At | sed's/|//;s,^/srv/ftp.debian.org/ftp,.,' | sort>$ARCHLIST
echo'SELECT l.path, f.filename, a.arch_string FROM location l JOIN files f ON (f.location = l.id) LEFT OUTER JOIN (binaries b JOIN architecture a ON (b.architecture = a.id)) ON (f.id = b.file)' | psql projectb -At | sed's/|//;s,^/srv/ftp-master.debian.org/ftp,.,' | sort>$ARCHLIST