From d6b47e135f7ad21a002498598997a3701ad106de Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sat, 24 Feb 2018 14:42:25 -0300 Subject: Another minor fix --- infection | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3