diff options
author | dequis <dx@dxzone.com.ar> | 2015-05-07 17:53:19 -0300 |
---|---|---|
committer | dequis <dx@dxzone.com.ar> | 2015-05-07 17:53:19 -0300 |
commit | b71f599d0195a21941122b27891a90f463058833 (patch) | |
tree | d5af19b897beb537b79ca8038cedbf88e8d2a876 | |
parent | 2d93f113374e455f44e94869a862fb87520c225d (diff) | |
parent | 041777e0f38dc991967fe7d2684836ac717ce871 (diff) |
Merge branch 'master' into develop
-rwxr-xr-x | configure | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -65,6 +65,13 @@ esac get_version() { REAL_BITLBEE_VERSION=$(grep '^#define BITLBEE_VERSION ' $srcdir/bitlbee.h | sed 's/.*\"\(.*\)\".*/\1/') + + if [ -n "$BITLBEE_VERSION" ]; then + # environment variable already set to something to spoof it + # don't replace it with the git stuff + return + fi + BITLBEE_VERSION=$REAL_BITLBEE_VERSION if [ -d $srcdir/.git ] && type git > /dev/null 2> /dev/null; then |