diff options
author | kris <kris@FreeBSD.org> | 2003-02-10 08:56:59 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2003-02-10 08:56:59 +0000 |
commit | 487b888316cadad20159914f7205605aed0d95e2 (patch) | |
tree | 11ee792df9fee35144ec949e4d615daa4951516e /Tools/scripts | |
parent | d0c55ea63acbf18a80b840d26994ffb11662aa33 (diff) | |
download | FreeBSD-ports-487b888316cadad20159914f7205605aed0d95e2.zip FreeBSD-ports-487b888316cadad20159914f7205605aed0d95e2.tar.gz |
Catch up to new semantics of COMMENT variable (contains comment string
itself, instead of pointing to pkg-comment)
Diffstat (limited to 'Tools/scripts')
-rwxr-xr-x | Tools/scripts/addport | 5 | ||||
-rwxr-xr-x | Tools/scripts/portsearch | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/Tools/scripts/addport b/Tools/scripts/addport index af911c1..6ae6c51 100755 --- a/Tools/scripts/addport +++ b/Tools/scripts/addport @@ -228,10 +228,7 @@ foreach my $thisdir (@dirs) { } else { ## Set up the autofill file. # Read COMMENT for part of the commit message. - open(COMMENT, "pkg-comment") or die("Can't open pkg-comment for reading: $!"); - $pkgcomment = <COMMENT>; - close(COMMENT); - chomp $pkgcomment; + $pkgcomment = `$make $passenv -V COMMENT`; # Change the first character to lowercase to make it fit with the # rest of the commit message. $pkgcomment =~ s/(^.)/\l$1/; diff --git a/Tools/scripts/portsearch b/Tools/scripts/portsearch index 46a09d3..88cd4a6 100755 --- a/Tools/scripts/portsearch +++ b/Tools/scripts/portsearch @@ -77,7 +77,7 @@ Options: -n name Search for \"name\" in name of ports -p path Search for \"path\" in location of ports - -i info Search for \"info\" in ports COMMENT files + -i info Search for \"info\" in ports COMMENT -m maint Search for \"maint\" in ports Maintainer -x index Search for \"index\" in ports categories -b b_deps Search for \"b_deps\" in build depends of ports |