diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2020-08-12 18:22:22 +0300 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2020-08-12 18:22:22 +0300 |
commit | ca28ed34bb81cac9c434c864de7abfe9b4620c13 (patch) | |
tree | 238802925236b6d5b5ab7e375dd4a2b79160ed9b /helpers | |
parent | d389d4cd9e2d75159f69a23bfa6d038f74502b12 (diff) | |
download | egawk-ca28ed34bb81cac9c434c864de7abfe9b4620c13.tar.gz egawk-ca28ed34bb81cac9c434c864de7abfe9b4620c13.tar.bz2 egawk-ca28ed34bb81cac9c434c864de7abfe9b4620c13.zip |
Add helpers/update-support.sh.
Diffstat (limited to 'helpers')
-rw-r--r-- | helpers/ChangeLog | 4 | ||||
-rwxr-xr-x | helpers/update-support.sh | 36 |
2 files changed, 40 insertions, 0 deletions
diff --git a/helpers/ChangeLog b/helpers/ChangeLog index 5e723ddf..eb94f693 100644 --- a/helpers/ChangeLog +++ b/helpers/ChangeLog @@ -1,3 +1,7 @@ +2020-08-12 Arnold D. Robbins <arnold@skeeve.com> + + * update-support.sh: New file. + 2020-07-22 Arnold D. Robbins <arnold@skeeve.com> * update-aux.sh: Adjust for removal of build-aux from extension diff --git a/helpers/update-support.sh b/helpers/update-support.sh new file mode 100755 index 00000000..122ef896 --- /dev/null +++ b/helpers/update-support.sh @@ -0,0 +1,36 @@ +#! /bin/bash + +# This script is only useful for the maintainer ... +# +# It updates all the build-aux files from current GNULIB. +# We don't bother to print any messages about what we copied, +# as Git will tell us what, if anything, changed. + +(cd /usr/local/src/Gnu/gnulib && git pull) + +GL=/usr/local/src/Gnu/gnulib/lib + +FILE_LIST="cdefs.h +dfa.c +dfa.h +flexmember.h +intprops.h +libc-config.h +localeinfo.c +localeinfo.h +regcomp.c +regex.c +regexec.c +regex.h +regex_internal.c +regex_internal.h +verify.h +xalloc.h" + +for i in $FILE_LIST +do + if [ -f $GL/$i ] && [ -f $i ] + then + cp $GL/$i $i + fi +done |