moth/kothd

14 lines
194 B
Plaintext
Raw Normal View History

2015-04-13 13:14:40 -06:00
#! /bin/sh
cd ${1:-$(dirname $0)}
KOTH_BASE=$(cwd)
echo "Running koth instances in $KOTH_BASE"
while true; do
for i in $KOTH_BASE/*/assigned.txt; do
dir=${i%/*}
$dir/bin/once
done
done