Ignore:
Timestamp:
Apr 22, 2014, 11:27:16 PM (5 years ago)
Author:
ryandesign@…
Message:

active_variants-1.1.tcl: use "|" instead of ":" to mean "or"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/_resources/port1.0/group/active_variants-1.1.tcl

    r114894 r119335  
    11# $Id$
    22#
    3 # Copyright (c) 2012 The MacPorts Project
     3# Copyright (c) 2012-2014 The MacPorts Project
    44# All rights reserved.
    55#
     
    4747#  $depspec
    4848#    is the name of the port you're trying to check (required), which can be
    49 #    specified as either just the port, or via "(bin:lib:path):FOO:port"
     49#    specified as either just the port, or via "(bin|lib|path):FOO:port"
    5050#    as accepted by the dependency parser.
    5151#  $required
     
    9595        if {$port == ""} {
    9696            ui_error "active_variants: Error: invalid port depspec '${depspec}'"
    97             ui_error "  expecting either: port or (bin:lib:path):foo:port"
     97            ui_error "  expecting either: port or (bin|lib|path):foo:port"
    9898            return 0
    9999        }
Note: See TracChangeset for help on using the changeset viewer.