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:
Kovid Goyal 2012-11-12 18:44:43 +05:30
parent b2973a6741
commit f4f58175f8

View File

@ -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')