aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2003-02-10 08:56:59 +0000
committerKris Kennaway <kris@FreeBSD.org>2003-02-10 08:56:59 +0000
commit5ead3c9bf0d992ab2e5c9052f8f2295b65113db9 (patch)
treec1424186602eee45774c10e21718deeb5f05afc8 /Tools
parent6cc8804d52f4edaa02c7d5c0bbbf7bf56b40873c (diff)
downloadports-5ead3c9bf0d992ab2e5c9052f8f2295b65113db9.tar.gz
ports-5ead3c9bf0d992ab2e5c9052f8f2295b65113db9.zip
Notes
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/addport5
-rwxr-xr-xTools/scripts/portsearch2
2 files changed, 2 insertions, 5 deletions
diff --git a/Tools/scripts/addport b/Tools/scripts/addport
index af911c13cb07..6ae6c51a6658 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 46a09d314c5c..88cd4a6ba68e 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