mirror of https://github.com/dyne/webnomad.git
small path fixes
This commit is contained in:
parent
d336927751
commit
2041bb7b02
6
theme
6
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 } || {
|
||||
|
|
|
|||
Loading…
Reference in New Issue