diff --git a/theme b/theme index 0bb70f4..ca5ae43 100755 --- a/theme +++ b/theme @@ -18,15 +18,17 @@ # this source code; if not, write to: # Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +typeset DIR CMD -DIR=`dirname $0` -CMD=`basename $0` +DIR="`dirname $0`" +CMD="`basename $0`" { test -r $DIR } || { echo "error: launch webnomad commands from your project directory" echo "i.e: ./$DIR/$CMD" return 1 } + source ${DIR}/utils { test -r config.zsh } || { diff --git a/utils b/utils index 5da558d..f292e73 100755 --- a/utils +++ b/utils @@ -19,8 +19,6 @@ # Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. # initialize paths -DIR=`dirname $SYS` # project dir - VERSION=0.3