aports/community/koreader/reader-lua-use-absolute-path-to-luajit.patch
2026-01-06 15:31:32 +09:00

11 lines
324 B
Diff

diff --git a/reader.lua.orig b/reader.lua
index 6fe9489..c4cbb2b 100755
--- a/reader.lua.orig
+++ b/reader.lua
@@ -1,4 +1,4 @@
-#!./luajit
+#!/usr/lib/koreader/luajit
-- Enforce line-buffering for stdout (this is the default if it points to a tty, but we redirect to a file on most platforms).
io.stdout:setvbuf("line")