summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJaromil <jaromil@dyne.org>2013-11-27 14:53:28 (GMT)
committer Jaromil <jaromil@dyne.org>2013-11-27 14:53:28 (GMT)
commit0f14a245d15314c6e819035f805f9afa044bcaf0 (patch)
tree30384831a1343637ffde3233ec8b1856f11786b5
parentb80a78dc0d43989d5845e1f70592ead6bef34767 (diff)
small path fixes
-rwxr-xr-xtheme6
-rwxr-xr-xutils2
2 files changed, 4 insertions, 4 deletions
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