From f0906a41a74857e9f6b9f2c0d7bfc30452ffa4e4 Mon Sep 17 00:00:00 2001 From: Hackerdude <69104218+ThatHackerDudeFromCyberspace@users.noreply.github.com> Date: Wed, 1 Jul 2026 16:08:48 +0100 Subject: [PATCH] kindle: Fix launch script path detection issues on older firmwares (#15625) Fixes #15622 --- platform/kindle/koreader.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/kindle/koreader.sh b/platform/kindle/koreader.sh index 16333d2ed..3eb38de74 100755 --- a/platform/kindle/koreader.sh +++ b/platform/kindle/koreader.sh @@ -3,7 +3,7 @@ export LC_ALL="en_US.UTF-8" # Compute our working directory in an extremely defensive manner -SCRIPT_DIR="$(CDPATH='' cd -- "$(dirname -- "$0")" && pwd -P)" +SCRIPT_DIR="$(CDPATH='' cd "$(dirname "$0")" && pwd -P)" # NOTE: We need to remember the *actual* KOREADER_DIR, not the relocalized version in /tmp... export KOREADER_DIR="${KOREADER_DIR:-${SCRIPT_DIR}}" UNPACK_DIR="${KOREADER_DIR%/*}"