Changeset 341


Ignore:
Timestamp:
06/22/2009 17:40:31 (3 years ago)
Author:
blee
Message:

Fix REPO_PROTOCOL handling in conf_repo_uri.

See #34

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/confmanlib.sh.in

    r339 r341  
    4141# Prints the repository URI 
    4242function conf_repo_uri { 
     43        local proto="${REPO_PROTOCOL%:/*}" 
    4344        local uri 
    4445 
    45         case ${REPO_PROTOCOL} in 
     46        case $proto in 
    4647                file) 
    4748                        uri="${REPO_PROTOCOL}${REPO_PATH}" 
Note: See TracChangeset for help on using the changeset viewer.