Always use the latest upstream config.{guess,sub} in source tarballs

This was one of the release tasks but we may as well find out as soon
as possible whether these break anything ;-)
merge-requests/87/head
Olaf Meeuwissen 2019-06-29 17:29:15 +09:00
rodzic b596f98879
commit 1017d790b6
3 zmienionych plików z 6 dodań i 4 usunięć

Wyświetl plik

@ -20,6 +20,7 @@ prepare:
- find -path ./.git -prune -o -type f | xargs tools/style-check.sh
- ./autogen.sh
- ./tools/create-changelog.sh
- ./tools/update-upstreams.sh
- ./configure
- make dist
artifacts:

Wyświetl plik

@ -35,6 +35,7 @@ EXTRA_DIST = check-po.awk libtool-get-dll-ext mustek600iin-off.c \
RenSaneDlls.cmd README xerox
EXTRA_DIST += style-check.sh
EXTRA_DIST += create-changelog.sh
EXTRA_DIST += update-upstreams.sh
sane_find_scanner_SOURCES = sane-find-scanner.c
if have_usblib

Wyświetl plik

@ -1,12 +1,12 @@
#!/bin/sh -u
# tools/update-upstream.sh -- files to their latest version
# Copyright (C) 2017 Olaf Meeuwissen
# tools/update-upstreams.sh -- files to their latest version
# Copyright (C) 2017, 2019 Olaf Meeuwissen
#
# License: GPL-3.0+
fetch () {
if type curl 2>/dev/null >/dev/null ; then
curl --silent --remote-name $1
curl --silent --location --remote-name $1
return
fi
if type wget 2>/dev/null >/dev/null ; then
@ -14,7 +14,7 @@ fetch () {
fi
}
CONFIG_BASE_URL=http://git.savannah.gnu.org/cgit/config.git/plain
CONFIG_BASE_URL=https://git.savannah.gnu.org/cgit/config.git/plain
for file in config.guess config.sub; do
fetch $CONFIG_BASE_URL/$file