summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.cfg b/Makefile.cfg
index bb71e9bcc..298fc5dd7 100644
--- a/Makefile.cfg
+++ b/Makefile.cfg
@@ -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 \