From f4f58175f82e38742f32b5be3eb9bb7cdc1ac832 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Mon, 12 Nov 2012 18:44:43 +0530 Subject: [PATCH] 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) --- setup/installer/linux/freeze2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/installer/linux/freeze2.py b/setup/installer/linux/freeze2.py index 2a91876d58..429a8389ef 100644 --- a/setup/installer/linux/freeze2.py +++ b/setup/installer/linux/freeze2.py @@ -301,7 +301,7 @@ class LinuxFreeze(Command): export MAGICK_CONFIGURE_PATH=$lib/{1}/config export MAGICK_CODER_MODULE_PATH=$lib/{1}/modules-Q16/coders 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')