#!/bin/bash
set -e

export GENCOMPENDIUMPATH="/srv/dl10n-stuff/svn/dl10n/compendia"

cd "$GENCOMPENDIUMPATH"

. "$GENCOMPENDIUMPATH"/l10n.conf

for LL in $COMPENDIUM_LANGS ; do
	"$GENCOMPENDIUMPATH"/createcompendium $LL || {
		# This should not happen
		echo "createcompendium failed for language $LL"
	}
done
