#!/bin/sh

if [ $2"X" != "OOGAX" ]; then
  echo "You shouldn't run this script yourself!  Let the Makefile do it!"
  exit 1
fi

cd levels
rm -f $1"/levels/LEVELS"
touch $1"/levels/LEVELS"
for i in level???.xnl ; do
  echo $1"/levels/"$i >> $1"/levels/LEVELS"
done
