#!/bin/bash

# Copyright (C) 2004 by Steve Litt, all rights reserved.
# Licensed under version 2 of the GNU General Public License
# See the COPYING file
# NO WARRANTY!!!!

################################################################
# To use emdl in the easiest possible way, change the following
# variables to reflect the locations of their respective files.
################################################################

EMDL_DIRECTORY=$(pwd)			#LOCATION OF emdlparser.pl
UMENU_DIRECTORY=$EMDL_DIRECTORY/..			#TOP OF UMENU TREE
NODE_DIRECTORY=$EMDL_DIRECTORY/../program		#LOCATION OF Node.pm

EMDL_CONFIG=$EMDL_DIRECTORY/emdl.cfg	#FULL PATH OF emdlparser.pl config file
UMENU_MENUDIR=$UMENU_DIRECTORY/menudir	#LOCATION OF UMENU MENU DEF FILES
UMENU_PROGRAMDIR=$UMENU_DIRECTORY/program	#LOCATION OF UMENU.PL
EMDL_TEMP=$EMDL_DIRECTORY/temp		#WRITEABLE TEMP DIR FOR COMPILED .mnu FILES

export EMDL_DIRECTORY EMDL_CONFIG UMENU_DIRECTORY NODE_DIRECTORY UMENU_MENUDIR UMENU_PROGRAMDIR EMDL_TEMP

cd $EMDL_DIRECTORY

$1 $2 $3 $4 $5 $6 $7 $8 $9
