From 1e9698474f3dce8a1abeb993851b717e80db96a5 Mon Sep 17 00:00:00 2001 From: Andreas Maunz Date: Tue, 24 Jul 2012 16:11:32 +0200 Subject: Fixed SELF usage --- bin/algorithm-install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/algorithm-install b/bin/algorithm-install index 07ef24a..72ef052 100755 --- a/bin/algorithm-install +++ b/bin/algorithm-install @@ -16,7 +16,7 @@ read delete_me # check wd is root of service DIR=`pwd` -if echo $DIR | grep "algorithm/bin" >/dev/null 2>&1 ; then cd ..; fi +if echo $DIR | grep "$SELF/bin" >/dev/null 2>&1 ; then cd ..; fi # # # Boot the script -- cgit v1.2.3