diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-12-28 20:19:51 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-12-28 20:19:51 +0200 |
commit | 146c12a4261302d0b8f8968b691d01303f4846d9 (patch) | |
tree | b0fa66f6f1d920724f6dd697388d165b805899e0 /helpers | |
parent | a89622fa57b3cf74e96b9f04c9cae897498155e9 (diff) | |
download | egawk-146c12a4261302d0b8f8968b691d01303f4846d9.tar.gz egawk-146c12a4261302d0b8f8968b691d01303f4846d9.tar.bz2 egawk-146c12a4261302d0b8f8968b691d01303f4846d9.zip |
New helper script: update-aux.sh.
Diffstat (limited to 'helpers')
-rw-r--r-- | helpers/ChangeLog | 4 | ||||
-rwxr-xr-x | helpers/update-aux.sh | 22 |
2 files changed, 26 insertions, 0 deletions
diff --git a/helpers/ChangeLog b/helpers/ChangeLog index 0833f7ed..d4312faa 100644 --- a/helpers/ChangeLog +++ b/helpers/ChangeLog @@ -1,3 +1,7 @@ +2017-12-28 Arnold D. Robbins <arnold@skeeve.com> + + * update-aux.sh: New script. + 2017-10-19 Arnold D. Robbins <arnold@skeeve.com> * 4.2.0: Release tar ball made. diff --git a/helpers/update-aux.sh b/helpers/update-aux.sh new file mode 100755 index 00000000..0d758486 --- /dev/null +++ b/helpers/update-aux.sh @@ -0,0 +1,22 @@ +#! /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/build-aux + +for i in $(cd $GL ; echo *) +do + for dir in . extension/build-aux doc + do + if [ -f $GL/$i ] && [ -f $dir/$i ] + then + cp $GL/$i $dir/$i + fi + done +done |