mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-31 14:33:54 -04:00
Linux binary: Use readlink -f rather than readlink -e in the launcher scripts so that they work with recent releases of busybox
This commit is contained in:
parent
a2c3b37da5
commit
72227947d3
@ -290,7 +290,7 @@ class LinuxFreeze(Command):
|
|||||||
|
|
||||||
launcher = textwrap.dedent('''\
|
launcher = textwrap.dedent('''\
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
path=`readlink -e $0`
|
path=`readlink -f $0`
|
||||||
base=`dirname $path`
|
base=`dirname $path`
|
||||||
lib=$base/lib
|
lib=$base/lib
|
||||||
export LD_LIBRARY_PATH=$lib:$LD_LIBRARY_PATH
|
export LD_LIBRARY_PATH=$lib:$LD_LIBRARY_PATH
|
||||||
|
Loading…
x
Reference in New Issue
Block a user