diff options
author | Jim Meyering <jim@meyering.net> | 2003-03-15 10:11:04 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-03-15 10:11:04 +0000 |
commit | 58153c43df107778591ef900fd5e4489620a66cb (patch) | |
tree | 4790bd4e2dcf0ec237fe354fbdb84b9c315420e6 /Makefile.cfg | |
parent | fbf699624a1013de4dc41187c3b4cb7f0260661f (diff) | |
download | coreutils-58153c43df107778591ef900fd5e4489620a66cb.tar.xz |
(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.
Diffstat (limited to 'Makefile.cfg')
-rw-r--r-- | Makefile.cfg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.cfg b/Makefile.cfg index bb71e9bcc..298fc5dd7 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 \ |