aboutsummaryrefslogtreecommitdiffstats
path: root/helpers/update-aux.sh
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2017-12-28 20:51:04 +0200
committerArnold D. Robbins <arnold@skeeve.com>2017-12-28 20:51:04 +0200
commit57801f2be5b7548e2dba148a54c0b0542a4240c7 (patch)
treee960705fcae0c07fa8b14d0f536116fc5c767e77 /helpers/update-aux.sh
parent347bec15cbff2ab20d541e8888fe5802681f2a50 (diff)
parent146c12a4261302d0b8f8968b691d01303f4846d9 (diff)
downloadegawk-57801f2be5b7548e2dba148a54c0b0542a4240c7.tar.gz
egawk-57801f2be5b7548e2dba148a54c0b0542a4240c7.tar.bz2
egawk-57801f2be5b7548e2dba148a54c0b0542a4240c7.zip
Merge branch 'gawk-4.2-stable'
Diffstat (limited to 'helpers/update-aux.sh')
-rwxr-xr-xhelpers/update-aux.sh22
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