diff options
author | Arnold D. Robbins <arnold@skeeve.com> | 2017-12-28 20:51:34 +0200 |
---|---|---|
committer | Arnold D. Robbins <arnold@skeeve.com> | 2017-12-28 20:51:34 +0200 |
commit | 18906a48d06521c9bbd77ffe6c3dbf9498ca5b20 (patch) | |
tree | affbe2c45bc4d3f88d53fa14f7f5fde02f3ad463 /helpers/update-aux.sh | |
parent | 348c16bbdf8c1599188d7f60e9e9ff58fa9e7484 (diff) | |
parent | 57801f2be5b7548e2dba148a54c0b0542a4240c7 (diff) | |
download | egawk-18906a48d06521c9bbd77ffe6c3dbf9498ca5b20.tar.gz egawk-18906a48d06521c9bbd77ffe6c3dbf9498ca5b20.tar.bz2 egawk-18906a48d06521c9bbd77ffe6c3dbf9498ca5b20.zip |
Merge branch 'master' into feature/fix-comments
Diffstat (limited to 'helpers/update-aux.sh')
-rwxr-xr-x | helpers/update-aux.sh | 22 |
1 files changed, 22 insertions, 0 deletions
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 |