diff options
-rwxr-xr-x | adjbacklight | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adjbacklight b/adjbacklight index 611d2af..8a64985 100755 --- a/adjbacklight +++ b/adjbacklight @@ -17,7 +17,7 @@ on the terminal the following commands should reset it: stty -icanon -echo if [[ $? = 0 ]]; then echo -en '\033[?25l' - sudo java -cp . Adjbacklight `stty size` + sudo java -cp ${BASH_SOURCE%/*} Adjbacklight `stty size` echo -en '\033[?25h' stty icanon echo else |