aboutsummaryrefslogtreecommitdiff
path: root/Tools/make_readmes
diff options
context:
space:
mode:
authorErwin Lansing <erwin@FreeBSD.org>2007-05-24 22:23:37 +0000
committerErwin Lansing <erwin@FreeBSD.org>2007-05-24 22:23:37 +0000
commit05ba2446ab4cf005da3305c3551fd13c8cf94ff4 (patch)
tree9d70a8f10067a52c6dc6fbe05d8c28e461173d3f /Tools/make_readmes
parentfe04173b185e564a1bf631a1a6d063c638cdcfbe (diff)
downloadports-05ba2446ab4cf005da3305c3551fd13c8cf94ff4.tar.gz
ports-05ba2446ab4cf005da3305c3551fd13c8cf94ff4.zip
Notes
Diffstat (limited to 'Tools/make_readmes')
-rw-r--r--Tools/make_readmes3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/make_readmes b/Tools/make_readmes
index ee8167144fb4..089bc993442c 100644
--- a/Tools/make_readmes
+++ b/Tools/make_readmes
@@ -2,7 +2,8 @@
# $FreeBSD$
$PORTSDIR="/usr/ports";
-$README=`cat ${PORTSDIR}/Templates/README.port`;
+$TEMPLATES=$ENV{TEMPLATES} || "${PORTSDIR}/Templates";
+$README=`cat ${TEMPLATES}/README.port`;
while(<>) {
split '\|';