]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(gnu_rel_host): Fix code to match the comment
authorJim Meyering <jim@meyering.net>
Sat, 15 Mar 2003 10:11:04 +0000 (10:11 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 15 Mar 2003 10:11:04 +0000 (10:11 +0000)
so that a version number with a two-digit component can still count
as an alpha release.

Makefile.cfg

index bb71e9bcc308bb3b8813269f150175649a917c81..298fc5dd75a05ae5c50c96216e6fe7fd9fc08ce0 100644 (file)
@@ -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 \