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:
@@ -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