Commit 367fef61 authored by Antonio Terceiro's avatar Antonio Terceiro

tools/indexer.sh: rewrite using rerun

It used to use rerun before, I'm not sure why it was changed.
parent bffc1a7a
......@@ -6,15 +6,9 @@ incoming=`$(dirname $0)/../bin/debci config --values-only autopkgtest_incoming_b
mkdir -p "$incoming"
while true; do
if inotifywait \
--event modify \
--event create \
--timeout 1 \
--recursive \
--quiet --quiet \
"$incoming"; then
echo "I: changes in incoming directory; updating"
./bin/debci update
fi
done
rerun \
--no-notify \
--exit \
--dir "$incoming" \
--pattern '**/exitcode' \
-- ./bin/debci update
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment