1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-04-20 02:36:16 +02:00

(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
2003-03-15 10:11:04 +00:00
parent fbf699624a
commit 58153c43df

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 \