diff options
Diffstat (limited to 'bootstrap.sh')
-rwxr-xr-x | bootstrap.sh | 16 |
1 files changed, 8 insertions, 8 deletions
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 |