[137858] branches/gsoc15-portfile/port-create
chunyang at macports.org
chunyang at macports.org
Sun Jun 21 23:51:25 PDT 2015
Revision: 137858
https://trac.macports.org/changeset/137858
Author: chunyang at macports.org
Date: 2015-06-21 23:51:25 -0700 (Sun, 21 Jun 2015)
Log Message:
-----------
port-create: Use EMAIL env as maintainer handle
Modified Paths:
--------------
branches/gsoc15-portfile/port-create
Modified: branches/gsoc15-portfile/port-create
===================================================================
--- branches/gsoc15-portfile/port-create 2015-06-22 06:43:53 UTC (rev 137857)
+++ branches/gsoc15-portfile/port-create 2015-06-22 06:51:25 UTC (rev 137858)
@@ -141,6 +141,10 @@
set template [string map "PortVersion $version" $template]
}
+if {[info exist env(EMAIL)] && ![string equal $env(EMAIL) ""]} {
+ set template [string map "MaintainerHandle $env(EMAIL)" $template]
+}
+
if {[expr {[string length $params(outfile)] > 0}]} {
set outfile [open $params(outfile) w]
puts -nonewline $outfile $template
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150621/9d4d0fc6/attachment.html>
More information about the macports-changes
mailing list