From: msweet Date: Thu, 31 Jul 2014 01:12:53 +0000 (+0000) Subject: Fix version check. X-Git-Tag: v2.2b1~537 X-Git-Url: http://git.ipfire.org/?p=thirdparty%2Fcups.git;a=commitdiff_plain;h=dd32079c832ebb6e2fdd56694acb8b26d0b2a5b9 Fix version check. git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/trunk@12075 a1ca3aef-8c08-0410-bb20-df032aa958be --- diff --git a/tools/makesrcdist b/tools/makesrcdist index a2f611918..0eb4426f6 100755 --- a/tools/makesrcdist +++ b/tools/makesrcdist @@ -42,7 +42,7 @@ else echo Validating sources... cupsversionpatch=`echo $version | awk -F. '{if (NF == 3) { print $3 } else { print "0" } }'` - cupsversion=`printf "1.07%02d" $cupsversionpatch` + cupsversion=`printf "2.00%02d" $cupsversionpatch` temp=`grep CUPS_VERSION cups/cups.h | grep -v CUPS_VERSION_ | awk '{print $4}'` if test "$temp" != $cupsversion; then