You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

20 lines
453 B

#!/bin/sh
##
## sweep -- Sophos Anti-Virus binary wrapper
##
# force DSO to be pre-loaded
LD_PRELOAD="@l_prefix@/libexec/sav/sweep.so"
export LD_PRELOAD
# make sure shared libaries are found
LD_LIBRARY_PATH="@l_prefix@/lib/sav:/usr/lib:/lib:$LD_LIBRARY_PATH"
export LD_LIBRARY_PATH
# make sure private data is found
SAV_IDE="@l_prefix@/var/sav/data"
export SAV_IDE
# execute original executable
exec @l_prefix@/libexec/sav/sweep ${1+"$@"}