diff --git a/tools/update-upstreams.sh b/tools/update-upstreams.sh index 3a5e94aae..93fbc200f 100755 --- a/tools/update-upstreams.sh +++ b/tools/update-upstreams.sh @@ -1,6 +1,6 @@ #!/bin/sh -u # tools/update-upstreams.sh -- files to their latest version -# Copyright (C) 2017, 2019 Olaf Meeuwissen +# Copyright (C) 2017, 2019, 2021 Olaf Meeuwissen # # License: GPL-3.0+ @@ -19,3 +19,8 @@ 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 done + +GNULIB_BASE_URL=https://git.savannah.gnu.org/cgit/gnulib.git/plain +fetch $GNULIB_BASE_URL/build-aux/git-version-gen +mv git-version-gen tools/ +chmod 0755 tools/git-version-gen