diff --git a/bootstrap.sh b/bootstrap.sh
index ea4ec9ad5d7b1748ab52112ecabb7d48f8da70b9..14a941b052c373349feb72c55a603feccec9e08e 100755 (executable)
--- a/bootstrap.sh
+++ b/bootstrap.sh
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
if [ "x$1" = "xam" ] ; then
run_versioned automake "$VERSION" -a -c --foreign
./config.status
-else
+else
rm -rf autom4te.cache
rm -f config.cache