aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinception2
1 files changed, 1 insertions, 1 deletions
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