aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2012-10-13 00:22:53 +0200
committerMattias Andrée <maandree@operamail.com>2012-10-13 00:22:53 +0200
commit26a6832214da5b8be3eaee4cc0a4207a85fb6069 (patch)
tree33ef3c4955e1b6f3e7a0598b90155412fc14ba2d
parentmake (diff)
downloadadjbacklight-26a6832214da5b8be3eaee4cc0a4207a85fb6069.tar.gz
adjbacklight-26a6832214da5b8be3eaee4cc0a4207a85fb6069.tar.bz2
adjbacklight-26a6832214da5b8be3eaee4cc0a4207a85fb6069.tar.xz
-classpath fix
Diffstat (limited to '')
-rwxr-xr-xadjbacklight2
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