From: Jim Meyering Date: Sat, 15 Mar 2003 10:11:04 +0000 (+0000) Subject: (gnu_rel_host): Fix code to match the comment X-Git-Tag: v4.5.11~75 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58153c43df107778591ef900fd5e4489620a66cb;p=thirdparty%2Fcoreutils.git (gnu_rel_host): Fix code to match the comment so that a version number with a two-digit component can still count as an alpha release. --- diff --git a/Makefile.cfg b/Makefile.cfg index bb71e9bcc3..298fc5dd75 100644 --- a/Makefile.cfg +++ b/Makefile.cfg @@ -5,7 +5,7 @@ # Otherwise, use ftp.gnu.org. gnu_rel_host := \ $(shell perl -e \ - 'print "$(VERSION)" =~ /^(\d\.\d\.\d|.*[a-z])$$/ ? "alpha" : "ftp"') + 'print "$(VERSION)" =~ /^(\d+\.\d+\.\d+|.*[a-z])$$/ ? "alpha" : "ftp"') url_dir_list = \ ftp://$(gnu_rel_host).gnu.org/gnu/coreutils \