1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
|