From a576ddd75e9d4fb47431abb101cf670d92f95c49 Mon Sep 17 00:00:00 2001 From: Shawn Routhier Date: Fri, 28 Jan 2011 22:39:22 +0000 Subject: [PATCH] Update bind.sh to get the major and minor version for Bind from the version file rather than to hardcode it. --- util/bind.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/util/bind.sh b/util/bind.sh index 404153c58..ebe3db799 100644 --- a/util/bind.sh +++ b/util/bind.sh @@ -14,7 +14,7 @@ # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR # PERFORMANCE OF THIS SOFTWARE. -# $Id: bind.sh,v 1.6.2.10 2011/01/21 00:08:54 sar Exp $ +# $Id: bind.sh,v 1.6.2.11 2011/01/28 22:39:22 sar Exp $ # Get the bind distribution for the libraries # This script is used to build the DHCP distribution and shouldn't be shipped @@ -80,9 +80,10 @@ sh kit.sh $SNAP $BINDTAG $binddir version=${MAJORVER}.${MINORVER}.${PATCHVER}${RELEASETYPE}${RELEASEVER} bindsrcdir=bind-$version +mm=${MAJORVER}.${MINORVER} # move the tar file to a known place for use by the make dist command -mv bind-9.*.tar.gz bind.tar.gz +mv bind-${mm}*.tar.gz bind.tar.gz # temporary hack to allow testing when using snapshots #mv $binddir/bind-9.7* $binddir/$bindsrcdir -- 2.47.3