ports/mail/mailscanner/files/patch-lib-clamav-wrapper
Chris Rees 56522a3814 Update to 4.84.5
PR:		ports/165887
Submitted by:	Kevin Kobb <kkobb@skylinecorp.com>
Feature safe:	yes
2012-03-10 10:30:07 +00:00

12 lines
373 B
Text

--- ./lib/clamav-wrapper.orig 2011-08-20 08:32:02.000000000 -0400
+++ ./lib/clamav-wrapper 2012-03-09 08:41:47.000000000 -0500
@@ -51,6 +51,9 @@
# You may want to check this script for bash-isms
+PATH=$PATH:/usr/local/bin
+export PATH
+
#TempDir="/tmp/clamav.$$"
TempDir=$(mktemp) || { echo "$0: Cannot make name for temporary dir" >&2; exit 1; }
ClamUser="clamav"