aboutsummaryrefslogtreecommitdiff
path: root/inception
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2015-08-12 11:10:16 -0300
committerSilvio Rhatto <rhatto@riseup.net>2015-08-12 11:10:16 -0300
commit97710f97ffac59111bf23668b3cf29a5cf9a6591 (patch)
treeeede8536e4a971d37fa0aa003acf5614a2d47d99 /inception
parent4b05e274fc1e76f80e779c772e16bc2b8e758142 (diff)
downloadapps-97710f97ffac59111bf23668b3cf29a5cf9a6591.tar.gz
apps-97710f97ffac59111bf23668b3cf29a5cf9a6591.tar.bz2
Inception: fix dirname
Diffstat (limited to 'inception')
-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