Skip to content

Commit 6beaf2f

Browse files
Fix path issues in the Kindle launch script
1 parent bc2722f commit 6beaf2f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

platform/kindle/koreader.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ if [ "$(dirname "${0}")" != "/var/tmp" ]; then
2121
exec /var/tmp/koreader.sh "$@"
2222
fi
2323

24+
cd "${KOREADER_DIR:-/dev/null}" || exit
25+
2426
PROC_KEYPAD="/proc/keypad"
2527
PROC_FIVEWAY="/proc/fiveway"
2628
[ -e "${PROC_KEYPAD}" ] && echo unlock >"${PROC_KEYPAD}"

0 commit comments

Comments
 (0)