Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/commands/run
diff options
context:
space:
mode:
authorDaniel Narvaez <dwnarvaez@gmail.com>2012-11-24 22:36:10 (GMT)
committer Daniel Narvaez <dwnarvaez@gmail.com>2012-11-24 22:36:10 (GMT)
commitbd52a0b9840d30e46fc43a435c97497d6b7d1b2a (patch)
tree6bd410cc7db211794901926528c960cb4d776365 /commands/run
parent30a0063c63e8fd415d1c0845723869719d039cf6 (diff)
Use readlink so that you can invoke commands/run
Diffstat (limited to 'commands/run')
-rwxr-xr-xcommands/run2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/run b/commands/run
index 875d2a7..2bc3a31 100755
--- a/commands/run
+++ b/commands/run
@@ -1,6 +1,6 @@
#!/bin/bash
-commandsdir=`dirname "$0"`
+commandsdir=$(dirname $(readlink -f $0))
helpersdir=$commandsdir/helpers
rootdir=`dirname "$commandsdir"`
display=`$helpersdir/find-free-display`