Skip to content

Commit

Permalink
Allow {} in depspecs.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.macports.org/repository/macports/trunk/base@14529 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
pguyot committed Oct 10, 2005
1 parent 4808cad commit e8e4f23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/port1.0/portdepends.tcl
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,6 @@
# et:ts=4 # et:ts=4
# portdepends.tcl # portdepends.tcl
# $Id: portdepends.tcl,v 1.42 2005/08/27 00:07:30 pguyot Exp $ # $Id: portdepends.tcl,v 1.43 2005/10/10 13:51:36 pguyot Exp $
# #
# Copyright (c) 2002 - 2003 Apple Computer, Inc. # Copyright (c) 2002 - 2003 Apple Computer, Inc.
# All rights reserved. # All rights reserved.
Expand Down Expand Up @@ -48,7 +48,7 @@ proc validate_depends_options {option action args} {
set|append|delete { set|append|delete {
foreach depspec $args { foreach depspec $args {
switch -regex $depspec { switch -regex $depspec {
(lib|bin|path):([-A-Za-z0-9_/.$^?+()|\\\\]+):([-A-Za-z./0-9_]+) {} (lib|bin|path):([-A-Za-z0-9_/.${}^?+()|\\\\]+):([-A-Za-z./0-9_]+) {}
(port):([-A-Za-z./0-9_]+) {} (port):([-A-Za-z./0-9_]+) {}
default { return -code error [format [msgcat::mc "invalid depspec: %s"] $depspec] } default { return -code error [format [msgcat::mc "invalid depspec: %s"] $depspec] }
} }
Expand Down

0 comments on commit e8e4f23

Please sign in to comment.