(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.
This commit is contained in:
Jim Meyering committed 2003-03-15 10:11:04 +00:00
1 parent fbf699624a
commit 58153c43df
1 file changed
+1 -1
+1 -1
View 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 \