mirror of https://github.com/dirtbags/moth.git
14 lines
194 B
Plaintext
14 lines
194 B
Plaintext
|
#! /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
|