freebsd-ports/security/ipfw2dshield/files/patch-ipfw2dshield
Sergey Matveychuk 4082ca1e8a - Update to 0.5
- Respect PREFIX

PR:		ports/74337
Submitted by:	maintainer
2004-11-27 11:20:34 +00:00

12 lines
293 B
Text

--- ipfw2dshield.orig Sat Oct 9 10:53:48 2004
+++ ipfw2dshield Wed Nov 24 21:46:41 2004
@@ -279,7 +279,8 @@
fi
# Suck in the config file.
-rc=~/.$prog.rc
+rc=%%PREFIX%%/etc/$prog.rc
+[ -e ~/.$prog.rc ] && rc=~/.$prog.rc
[ -r $rc ] || bye "Permission denied: $rc"
. $rc
_logdir=$logdir