svn commit: r305846 - head/security/amavisd-new/files

Gabor Kovesdan gabor at FreeBSD.org
Sat Oct 13 18:35:20 UTC 2012


Author: gabor
Date: Sat Oct 13 18:35:19 2012
New Revision: 305846
URL: http://svn.freebsd.org/changeset/ports/305846

Log:
  - Fix mistakenly expanded variable substitution
  
  Noticed by:	zeising
  Feature safe:	yes

Modified:
  head/security/amavisd-new/files/amavisd.in

Modified: head/security/amavisd-new/files/amavisd.in
==============================================================================
--- head/security/amavisd-new/files/amavisd.in	Sat Oct 13 18:24:45 2012	(r305845)
+++ head/security/amavisd-new/files/amavisd.in	Sat Oct 13 18:35:19 2012	(r305846)
@@ -36,7 +36,7 @@ if [ ${amavisd_ram} ];then
   echo "WARNING: using ramdisk is reported to be unstable and"
   echo "thus it is highly recommended to be turned off."
   echo "========================================================"
-  df /var/amavis/tmp | grep -E '^(/dev/md|tmpfs)' > /dev/null
+  df %%AMAVISDIR%%/tmp | grep -E '^(/dev/md|tmpfs)' > /dev/null
   if [ $? -eq 1 ]; then
     mdmfs -s ${amavisd_ram} -p 750 -w %%AMAVISUSER%%:%%AMAVISGROUP%% md %%AMAVISDIR%%/tmp || true
   fi


More information about the svn-ports-all mailing list