small path fixes

This commit is contained in:
Jaromil 2013-11-27 15:53:28 +01:00
parent d336927751
commit 2041bb7b02
2 changed files with 4 additions and 4 deletions

6
theme
View File

@ -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 } || {

2
utils
View File

@ -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