Changeset f68f02e


Ignore:
Timestamp:
Oct 17, 2013 9:00:14 AM (6 months ago)
Author:
Kris Moore <kris@…>
Branches:
master, 9.2-release, releng/10.0, releng/10.0.1
Children:
b6d6736
Parents:
ad23101
Message:

When we list branches, put a * on the current one

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src-sh/pc-updatemanager/pc-updatemanager

    r88de14c rf68f02e  
    164164     if [ $? -eq 0 ] ; then 
    165165        echo "Available branches:" 
     166        echo "* = Current Branch" 
    166167        echo "----------------------------------" 
    167168        echo $line | cut -d ':' -f 2 | sed 's|,|\ 
    168 |g' 
     169|g' | while read branch 
     170        do 
     171                if [ "`uname -r | cut -d '-' -f 1-2`" = "$branch" ] ; then 
     172                        echo "$branch *" 
     173                else 
     174                        echo "$branch" 
     175                fi 
     176        done 
    169177        echo "" 
    170178        echo "To change branches run: ${0} chbranch <branch>" 
Note: See TracChangeset for help on using the changeset viewer.