Improved executable

This commit is contained in:
Sven Heidemann 2021-11-26 08:39:19 +01:00
parent e489787f01
commit ed1cb24e9c

View File

@ -1,6 +1,9 @@
#!/bin/bash #!/bin/bash
cd ../ path="`dirname \"$0\"`" # relative
path="`( cd \"$path\" && pwd)`" # absolutized and normalized
cd "$path/../"
if [[ $1 == "-dev" ]]; then if [[ $1 == "-dev" ]]; then
export GISMO_ENVIRONMENT=development export GISMO_ENVIRONMENT=development