From 97710f97ffac59111bf23668b3cf29a5cf9a6591 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Wed, 12 Aug 2015 11:10:16 -0300 Subject: Inception: fix dirname --- inception | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3