Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

polish(scripts): debian-rust-coverage early exit trap no longer trips on unset JOIN (#1577)

xerj-orgf516cb6d920b
diff --git a/scripts/debian-rust-coverage.sh b/scripts/debian-rust-coverage.sh
index 768eb27ab..bfe9e8c23 100755
--- a/scripts/debian-rust-coverage.sh
+++ b/scripts/debian-rust-coverage.sh
@@ -67,7 +67,7 @@ if [ -n "$INDEX" ]; then
else
command -v curl >/dev/null 2>&1 || { echo "curl is required to fetch $SOURCES_URL" >&2; exit 2; }
TMPIDX=$(mktemp "${TMPDIR:-/tmp}/xerj-sources-XXXXXX.gz")
- trap 'rm -f "$TMPIDX" "$JOIN" "$JOIN.pkgs" "$JOIN.crates" 2>/dev/null' EXIT
+ trap 'rm -f "$TMPIDX" 2>/dev/null' EXIT # JOIN is not set yet; its trap comes below
echo "fetching $SOURCES_URL" >&2
curl -sSf -m 300 -o "$TMPIDX" "$SOURCES_URL"
DEB_PACKAGES=$(gzip -dc "$TMPIDX" | sed -n 's/^Package: //p' | sort -u)