diff --git a/src/gismo/gismo b/src/gismo/gismo index a083a83..ef13a28 100644 --- a/src/gismo/gismo +++ b/src/gismo/gismo @@ -1,6 +1,9 @@ #!/bin/bash -cd ../ +path="`dirname \"$0\"`" # relative +path="`( cd \"$path\" && pwd)`" # absolutized and normalized + +cd "$path/../" if [[ $1 == "-dev" ]]; then export GISMO_ENVIRONMENT=development