diff options
-rwxr-xr-x | scripts/update-m4.sh | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/update-m4.sh b/scripts/update-m4.sh index 9b6e99b..55a46ee 100755 --- a/scripts/update-m4.sh +++ b/scripts/update-m4.sh @@ -4,6 +4,11 @@ set -eu sv_ax_m4_pfx='https://git.savannah.gnu.org/cgit/autoconf-archive.git/plain/m4' -for file in "$(dirname "${0}")/../m4/ax_"*; do - wget -O "${file}" "${sv_ax_m4_pfx}/${file#*/}" +for path in "$(dirname "${0}")/../m4/"*; do + file="${path##*/}" + case "${file}" in + ax_*.m4) + wget -O "${path}" "${sv_ax_m4_pfx}/${file}" + ;; + esac done |