blob: 30b2d531ee92e23e33cdf993cc9537a7358f9826 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
#!/bin/bash -x
test -z "$rev" && rev=origin/master
if test ! -d "upstream"; then
git clone git://git.sv.gnu.org/libtool upstream
pushd upstream >/dev/null
else
pushd upstream >/dev/null
git pull
fi
./bootstrap && {
if test -f boostrap.new; then
mv bootstrap.new bootstrap
./bootstrap
fi
} && ./configure && make dist
for i in `ls -1 *.tar.gz`; do
mv $i ../$i
rm -rf $i
break
done
popd
|