aboutsummaryrefslogtreecommitdiffstats
path: root/helpers/update-support.sh
diff options
context:
space:
mode:
authorAntonio Giovanni Colombo <azc100@gmail.com>2020-08-16 21:25:30 +0200
committerAntonio Giovanni Colombo <azc100@gmail.com>2020-08-16 21:25:30 +0200
commit87761102eb08df817871b17f56041428e88efb12 (patch)
treee5575279f26c44b485939140f03d261aa6e80062 /helpers/update-support.sh
parent65cb5e20a94c407eab227bbfe78bac5f86d9d808 (diff)
parentaf190c94590e340fcb5918a6ebd245169d5f1000 (diff)
downloadegawk-87761102eb08df817871b17f56041428e88efb12.tar.gz
egawk-87761102eb08df817871b17f56041428e88efb12.tar.bz2
egawk-87761102eb08df817871b17f56041428e88efb12.zip
Merge branch 'feature/docit' of ssh://git.sv.gnu.org/srv/git/gawk into feature/docit
Diffstat (limited to 'helpers/update-support.sh')
-rwxr-xr-xhelpers/update-support.sh36
1 files changed, 36 insertions, 0 deletions
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