#!/bin/bash -x test -z "$rev" && rev=origin/master if test ! -d "upstream"; then git clone git://git.sv.gnu.org/autoconf upstream pushd upstream >/dev/null else pushd upstream >/dev/null git pull fi autoreconf -vfi && ./configure && make dist for i in `ls -1 *.tar.gz`; do mv $i ../$i rm -rf $i break done popd