X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;ds=sidebyside;f=bootstrap.sh;fp=bootstrap.sh;h=14a941b052c373349feb72c55a603feccec9e08e;hb=f662ec3b303d2cd70b96dbd226d43736b1b16c16;hp=ea4ec9ad5d7b1748ab52112ecabb7d48f8da70b9;hpb=0c82f84ef5b8a0a7a773fdb14028bf07a05b3e89;p=fusedav.git diff --git a/bootstrap.sh b/bootstrap.sh index ea4ec9a..14a941b 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -30,15 +30,15 @@ run_versioned() { local V V=$(echo "$2" | sed -e 's,\.,,g') - + if [ -e "`which $1$V`" ] ; then - P="$1$V" + P="$1$V" else - if [ -e "`which $1-$2`" ] ; then - P="$1-$2" - else - P="$1" - fi + if [ -e "`which $1-$2`" ] ; then + P="$1-$2" + else + P="$1" + fi fi shift 2 @@ -50,7 +50,7 @@ set -ex if [ "x$1" = "xam" ] ; then run_versioned automake "$VERSION" -a -c --foreign ./config.status -else +else rm -rf autom4te.cache rm -f config.cache