mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Linux binary: Use exec in the wrapper shell scripts that are used to set env vars and launch calibre utilities. Fixes #1077884 (calibre-server wrapper script should exec binary)
This commit is contained in:
parent
b2973a6741
commit
f4f58175f8
@ -301,7 +301,7 @@ class LinuxFreeze(Command):
|
|||||||
export MAGICK_CONFIGURE_PATH=$lib/{1}/config
|
export MAGICK_CONFIGURE_PATH=$lib/{1}/config
|
||||||
export MAGICK_CODER_MODULE_PATH=$lib/{1}/modules-Q16/coders
|
export MAGICK_CODER_MODULE_PATH=$lib/{1}/modules-Q16/coders
|
||||||
export MAGICK_CODER_FILTER_PATH=$lib/{1}/modules-Q16/filters
|
export MAGICK_CODER_FILTER_PATH=$lib/{1}/modules-Q16/filters
|
||||||
$base/bin/{0} "$@"
|
exec $base/bin/{0} "$@"
|
||||||
''')
|
''')
|
||||||
|
|
||||||
dest = self.j(self.obj_dir, bname+'.o')
|
dest = self.j(self.obj_dir, bname+'.o')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user