Permalink
Browse files

Wrong syntax for arithmetic expansion

Shall close #13
  • Loading branch information...
1 parent 649cf67 commit d2526e07aed0793278be53bd85f9514845d63b94 @mlt committed Aug 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 debian/postinst
View
2 debian/postinst
@@ -36,7 +36,7 @@ case "$1" in
# db_get schwinn810/offset || true
OFF=$(date +%z)
OFF=${OFF%00}
- echo "OFFSET=$[-OFF]" >> $TMPFILE
+ echo "OFFSET=$((-OFF))" >> $TMPFILE
db_get schwinn810/debug || true
if [ x"$RET" = x"true" ]; then

0 comments on commit d2526e0

Please sign in to comment.