]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
Update bind.sh to get the major and minor version for Bind from
authorShawn Routhier <sar@isc.org>
Fri, 28 Jan 2011 22:39:22 +0000 (22:39 +0000)
committerShawn Routhier <sar@isc.org>
Fri, 28 Jan 2011 22:39:22 +0000 (22:39 +0000)
the version file rather than to hardcode it.

util/bind.sh

index 404153c584256c73b518c63d7256dafd98573830..ebe3db7999204119e8c5f67278d26a8cb8eaad3a 100644 (file)
@@ -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