summaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMark Andrews <marka@isc.org>2010-06-18 03:23:04 +0000
committerMark Andrews <marka@isc.org>2010-06-18 03:23:04 +0000
commitde59a4b873d6013c2dceb97301b0ab8ce1a3620f (patch)
tree050fbe674ea82497f5eab39a06772ea880a1ac4c /util
parent795b3525a1c7fb43156e7f23899becd782cc6f52 (diff)
downloadisc-dhcp-de59a4b873d6013c2dceb97301b0ab8ce1a3620f.tar.gz
make robust to version changes on head
Diffstat (limited to 'util')
-rw-r--r--util/bind.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/util/bind.sh b/util/bind.sh
index aa82d800..a73b452a 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.13 2010/06/15 18:41:51 dhankins Exp $
+# $Id: bind.sh,v 1.14 2010/06/18 03:23:04 marka Exp $
# Get the bind distribution for the libraries
# This script is used to build the DHCP distribution and shouldn't be shipped
@@ -79,9 +79,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.7*.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