Permalink
Browse files

set working directory

  • Loading branch information...
1 parent 27a3610 commit e893bc14358bdf8d9941d3fc58ca53be72598c91 @esmil esmil committed Jan 13, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 drinkomatic
View
@@ -10,4 +10,5 @@ dir="`dirname $0`"
stty -F"$card" raw -echo -hup 9600
stty -F"$barcode" raw -echo -hup 9600
-exec lem "$dir/drinkomatic.lua" "$db" "$card" "$barcode"
+cd "$dir"
+exec lem drinkomatic.lua "$db" "$card" "$barcode"

0 comments on commit e893bc1

Please sign in to comment.