Changeset a014331


Ignore:
Timestamp:
2006-03-30T17:14:38Z (15 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
192b80a
Parents:
9b8a38b
Message:

Made configure quiet when it can't find bzr, and added repository nick to
generated version number.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    r9b8a38b ra014331  
    304304
    305305echo
    306 if [ -z "$BITLBEE_VERSION" -a -d .bzr -a -x "`which bzr`" ]; then
     306if [ -z "$BITLBEE_VERSION" -a -d .bzr ] && type bzr > /dev/null 2> /dev/null; then
     307        nick=`bzr nick`
     308        if [ -n "$nick" -a "$nick" != "bitlbee" ]; then
     309                nick="-$nick"
     310        else
     311                nick=""
     312        fi
    307313        rev=`bzr revno`
    308314        echo 'Using bzr revision #'$rev' as version number'
    309         BITLBEE_VERSION=\"bzr-$rev\"
     315        BITLBEE_VERSION=\"bzr$nick-$rev\"
    310316fi
    311317
Note: See TracChangeset for help on using the changeset viewer.