tinymush-3.1p1/game/backups/
tinymush-3.1p1/game/bin/
tinymush-3.1p1/game/data/
tinymush-3.1p1/game/modules/
tinymush-3.1p1/game/modules/old/
tinymush-3.1p1/src/modules/comsys/
tinymush-3.1p1/src/modules/hello/
tinymush-3.1p1/src/modules/mail/
tinymush-3.1p1/src/tools/
#!/bin/sh
#
# $Id: check_paths,v 1.2 2002/06/29 03:21:29 rmg Exp $
#
#	check_paths - Make sure mush.config paths are valid.
#		      Assumes mush.config has already been loaded in
#		      this shell.
#
if [ -z "$BIN" -o ! -d "$BIN" -o ! -r "$BIN" ]; then
	echo "Error: Invalid BIN directory in mush.config"
	exit 1
fi
if [ -z "$TEXT" -o ! -d "$TEXT" -o ! -w "$TEXT" ]; then
	echo "Error: Invalid TEXT directory in mush.config"
	exit 1
fi
if [ -z "$DATA" -o ! -d "$DATA" -o ! -w "$DATA" ]; then
	echo "Error: Invalid DATA directory in mush.config"
	exit 1
fi
if [ -z "$BACKUP_DIR" -o ! -d "$BACKUP_DIR" -o ! -w "$BACKUP_DIR" ]; then
	echo "Warning: Invalid BACKUP_DIR in mush.config; using . instead"
	BACKUP_DIR=.
fi