From: Silvio Rhatto Date: Wed, 12 Aug 2015 14:10:16 +0000 (-0300) Subject: Inception: fix dirname X-Git-Tag: 1.0.0~207 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=97710f97ffac59111bf23668b3cf29a5cf9a6591;p=rhatto%2Fapps.git Inception: fix dirname --- diff --git a/inception b/inception index 9a111a1..63ddf1c 100755 --- a/inception +++ b/inception @@ -5,7 +5,7 @@ # Parameters BASENAME="`basename $0`" -DIRNAME="`dirname $0`" +DIRNAME="$(cd `dirname $0` &> /dev/null && pwd)" # Main if [ -z "$1" ] || [ "$1" == "init" ]; then