X-Git-Url: http://sjero.net/git/?p=wget;a=blobdiff_plain;f=build-aux%2Fbzr-version-gen;h=a11eed49bcc697aed23529d9de5d76d8f567b5c2;hp=f5804c9a003890bd7aa73fd0f46e03b0111b3c18;hb=aa05df65c4fd5fcf061433210ad8a0d2da1bf9c4;hpb=e36538b53a408cdcbf37c02f8f4eb0f1009a02c5 diff --git a/build-aux/bzr-version-gen b/build-aux/bzr-version-gen index f5804c9a..a11eed49 100755 --- a/build-aux/bzr-version-gen +++ b/build-aux/bzr-version-gen @@ -1,8 +1,8 @@ #!/bin/sh -scriptversion=2010-05-09.22; # UTC +scriptversion=2011-08-09.13; # UTC -# Copyright (C) 2010 Free Software Foundation, Inc. +# Copyright (C) 2010, 2011 Free Software Foundation, Inc. # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -30,14 +30,14 @@ fi DIRTY="" -test -n "$(bzr diff | tr -d '\n')" && DIRTY="-dirty" +test -n "`bzr diff | tr -d '\n'`" && DIRTY="-dirty" -REVNO=$(bzr revno) +REVNO=`bzr revno` -TAG=$(bzr tags -r $REVNO | cut -d' ' -f1) +TAG=`bzr tags -r $REVNO | cut -d' ' -f1` if test -z "$TAG" then - TAG=$(bzr tags -r ..$REVNO | cut -d' ' -f1) + TAG=`bzr tags -r ..$REVNO | cut -d' ' -f1` # No tags yet test -z "$TAG" && TAG="unknown"