aboutsummaryrefslogtreecommitdiff
path: root/infection
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2018-02-24 14:42:25 -0300
committerSilvio Rhatto <rhatto@riseup.net>2018-02-24 14:42:25 -0300
commitd6b47e135f7ad21a002498598997a3701ad106de (patch)
tree7cbb81257dfa8f7c3897a93b144a161ed88eb7b2 /infection
parentb052b851634247bcfe9d11a7005d6dd16b9188f3 (diff)
downloadinception-d6b47e135f7ad21a002498598997a3701ad106de.tar.gz
inception-d6b47e135f7ad21a002498598997a3701ad106de.tar.bz2
Another minor fix
Diffstat (limited to 'infection')
-rwxr-xr-xinfection2
1 files changed, 1 insertions, 1 deletions
diff --git a/infection b/infection
index 353128c..8572a6d 100755
--- a/infection
+++ b/infection
@@ -22,7 +22,7 @@ function infection_usage {
function infection_init {
# Set dir and base names depending on the way the program was called (symlink or direct)
if [ "$(cd `dirname $0` &> /dev/null && basename `pwd`)" == "inception" ]; then
- DIRNAME="$(cd `dirname $0/..` &> /dev/null && pwd)"
+ DIRNAME="$(cd `dirname $0`/.. &> /dev/null && pwd)"
else
DIRNAME="$(cd `dirname $0` &> /dev/null && pwd)"
fi