Ignore:
Timestamp:
Jul 13, 2009 3:21:25 PM (11 years ago)
Author:
tkr
Message:

Allowing trunks to be specified as externals

File:
1 edited

Legend:

Unmodified
Added
Removed
  • stable/BSP/set_externals

    r1322 r1323  
    124124          continue
    125125        fi                                   
    126         if (echo $ext_url | grep -E 'stable/|releases/' >/dev/null); then
     126        if (echo $ext_url | grep -E 'trunk|stable/|releases/' >/dev/null); then
    127127          :;
    128128        else
    129129          echo ''
    130           echo "The external URL $ext_url is not a stable branch or release. Exiting."
     130          echo "The external URL $ext_url is not valid. Exiting."
    131131          echo ''
    132132          exit -2
     
    138138        if expr "$ext_url" : '.*releases/.*' 2>&1 >/dev/null ; then
    139139          echo "Using specified release for $ext_name."
     140          ext_rel_url=$ext_url
     141        elif expr "$ext_url" : '.*trunk.*' 2>&1 >/dev/null; then
     142          echo "Using specified trunk for $ext_name."
    140143          ext_rel_url=$ext_url
    141144        else
     
    194197
    195198EOF
     199else
     200cat <<EOF
     201Externals set successfully. Please verify that the change is OK and then
     202commit to make the change permanent.
     203EOF
     204
    196205fi
    197206
Note: See TracChangeset for help on using the changeset viewer.