summaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2005-04-12 11:03:49 +0000
committerVolker Stolz <vs@FreeBSD.org>2005-04-12 11:03:49 +0000
commitc53968b20666990d032044e4e7610ab083276e9c (patch)
tree029884fcea28575e5a85d8d18576139da9e8932c /Tools
parentAdd a splitpatch.pl utility, a small script to convert multi-file (diff)
As discussed on the cvs-ports-list, make 'addport' print a warning if the directory
name contains upper-case characters as it makes finding a port harder. PR: ports/79679 Approved by: will, portmgr(krion)
Notes
Notes: svn path=/head/; revision=133136
Diffstat (limited to 'Tools')
-rwxr-xr-xTools/scripts/addport1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tools/scripts/addport b/Tools/scripts/addport
index 6a18f40beab8..377953c28a9a 100755
--- a/Tools/scripts/addport
+++ b/Tools/scripts/addport
@@ -182,6 +182,7 @@ foreach my $thisdir (@dirs) {
$portname = `basename $thisdir`; # avoid problems with dirs containing `/' in cvs
chomp $portname;
+ warnx("Port directory contains upper-case character! Please try using an all lower-case name to make everybody's life a bit easier.") if ($portname =~ /[A-Z]/);
if ($interactive) {
if (prompt("Port directory name will be $portname in CVS Repo. OK? ")) {
do {