diff options
author | Andreas Maunz <andreas@maunz.de> | 2012-07-24 16:11:32 +0200 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2012-07-24 16:11:32 +0200 |
commit | 1e9698474f3dce8a1abeb993851b717e80db96a5 (patch) | |
tree | c4d203544372a8efad75d13e56c1bbab1ad91e5a | |
parent | bfde91ac1a4c4d663dc326509fc6ac87f6996c4c (diff) |
Fixed SELF usagemodular
-rwxr-xr-x | bin/algorithm-install | 2 |
1 files changed, 1 insertions, 1 deletions
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 |