diff options
author | Mattias Andrée <maandree@operamail.com> | 2012-10-13 00:22:53 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2012-10-13 00:22:53 +0200 |
commit | 26a6832214da5b8be3eaee4cc0a4207a85fb6069 (patch) | |
tree | 33ef3c4955e1b6f3e7a0598b90155412fc14ba2d | |
parent | make (diff) | |
download | adjbacklight-26a6832214da5b8be3eaee4cc0a4207a85fb6069.tar.gz adjbacklight-26a6832214da5b8be3eaee4cc0a4207a85fb6069.tar.bz2 adjbacklight-26a6832214da5b8be3eaee4cc0a4207a85fb6069.tar.xz |
-classpath fix
Diffstat (limited to '')
-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 |