1
0
Fork 0
mirror of https://github.com/dirtbags/moth.git synced 2025-01-07 04:20:39 -07:00
moth/kothd
2015-04-13 13:14:40 -06:00

13 lines
194 B
Bash

#! /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