From: Mark Andrews Date: Tue, 3 Nov 2009 13:42:46 +0000 (+0000) Subject: sensible error message, support 4.2.0 X-Git-Tag: v4_2_0a1~26 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a7cfbea4192e0dcea482cde0e7fe6593b49e2913;p=thirdparty%2Fdhcp.git sensible error message, support 4.2.0 --- diff --git a/util/bind.sh b/util/bind.sh index 59cfdf09a..c40d267b1 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.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 " >&2 + *) echo "bind.sh: unsupported version: $1" >&2 exit 1 ;; esac