mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03: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:
1 parent
fbf699624a
commit
58153c43df
1 file changed
+1
-1
+1
-1
@@ -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 \
|
||||
|
||||
Reference in new issue
Block a user