Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Oct 2012 18:35:19 +0000 (UTC)
From:      Gabor Kovesdan <gabor@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305846 - head/security/amavisd-new/files
Message-ID:  <201210131835.q9DIZJaQ081278@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210131835.q9DIZJaQ081278>