]> git.ipfire.org Git - thirdparty/dhcp.git/commitdiff
sensible error message, support 4.2.0
authorMark Andrews <marka@isc.org>
Tue, 3 Nov 2009 13:42:46 +0000 (13:42 +0000)
committerMark Andrews <marka@isc.org>
Tue, 3 Nov 2009 13:42:46 +0000 (13:42 +0000)
util/bind.sh

index 59cfdf09a3a557e1d81903ff2e3324c8113edd1c..c40d267b1e191d03f73fbed8ff35699926807fcf 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.3 2009/10/29 00:46:48 sar Exp $
+# $Id: bind.sh,v 1.4 2009/11/03 13:42:46 marka Exp $
 
 # Get the bind distribution for the libraries
 # This script is used to build the DHCP distribution and shouldn't be shipped
@@ -30,9 +30,9 @@ binddir=$topdir/bind
 case $# in 
     1)
        case "$1" in 
-       4.2.0a1) BINDTAG=v9_7_0b1 ;;
+       4.2.0a2|4.2.0) BINDTAG=v9_7_0b1 ;;
        4.1.2) BINDTAG=v9_7_0b1 ;;
-       *) echo "usage: sh bind.sh <version>" >&2
+       *) echo "bind.sh: unsupported version: $1" >&2
           exit 1
           ;;
        esac