summaryrefslogtreecommitdiff
path: root/build-aux/fetch.sh
diff options
context:
space:
mode:
authorZack Weinberg <zackw@panix.com>2020-09-11 09:37:50 -0400
committerZack Weinberg <zackw@panix.com>2020-09-11 09:37:50 -0400
commitdda80c75274a57dbbb71b16ad51cc0716741da4a (patch)
tree78b5ed3e0da4bb8492e002cc830c95ebefb2d0d8 /build-aux/fetch.sh
parentb560f0a657be0ba69417d26589ffd93a26f62573 (diff)
downloadautoconf-zack/channeldefs-sync.tar.gz
attempt to sync ChannelDefs.pm *and* Config.pm from automakezack/channeldefs-sync
needs changes to how wrapper.as works, postponed
Diffstat (limited to 'build-aux/fetch.sh')
-rwxr-xr-xbuild-aux/fetch.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/build-aux/fetch.sh b/build-aux/fetch.sh
index f5a5537a..71cb9f96 100755
--- a/build-aux/fetch.sh
+++ b/build-aux/fetch.sh
@@ -38,6 +38,7 @@ gnulib_files="
automake_files="
lib/Automake/Channels.pm
+ lib/Automake/Config.in
lib/Automake/Configure_ac.pm
lib/Automake/FileUtils.pm
lib/Automake/Getopt.pm
@@ -73,6 +74,9 @@ for file in $automake_files; do
fbase="${file##*/}"
dest="${srcdir}/lib/Autom4te/${fbase}"
run "$WGET" -nv -O "${scratch}/${fbase}" "${automake_gitweb}${file}"
- run "$PERL" -pi -e 's/Automake::/Autom4te::/g' "${scratch}/${fbase}"
+ run "$PERL" -pi \
+ -e 's/\bAutomake::/Autom4te::/g;' \
+ -e 's/\bAUTOMAKE_LIBDIR\b/AUTOM4TE_LIBDIR/g;' \
+ "${scratch}/${fbase}"
run "$move_if_change" "${scratch}/${fbase}" "$dest"
done