aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Stephen P. Bennett <spb@exherbo.org> 2006-07-12 21:28:45 +0000
committerAvatar Stephen P. Bennett <spb@exherbo.org> 2006-07-12 21:28:45 +0000
commit5ace55a1e6d7a09d54a2f78e3cc8f5b520fd6131 (patch)
tree74e15c464153bdc6376a67351aadd8c729361545
parentbdf81a0f4af410415bc7236efb75efa7d4379ed1 (diff)
downloadpaludis-5ace55a1e6d7a09d54a2f78e3cc8f5b520fd6131.tar.gz
paludis-5ace55a1e6d7a09d54a2f78e3cc8f5b520fd6131.tar.xz
Allow . in category names to make crossdev happy.
-rw-r--r--paludis/name.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/paludis/name.cc b/paludis/name.cc
index 10c8ff3..80e4a77 100644
--- a/paludis/name.cc
+++ b/paludis/name.cc
@@ -166,10 +166,12 @@ CategoryNamePartValidator::validate(const std::string & s)
{
/* this gets called a lot, make it fast */
+ // Allow . because crossdev can create, for example,
+ // cross-i686-unknown-freebsd6.0 --spb
static const std::string allowed_chars(
"abcdefghijklmnopqrstuvwxyz"
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
- "0123456789-+_");
+ "0123456789-+_.");
do
{