#!/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