summaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2010-07-28 11:02:50 +0200
committerStefano Lattarini <stefano.lattarini@gmail.com>2010-08-10 19:39:21 +0200
commitd628025fd4ad5ce662a24a818ae97f1af7c0a7d3 (patch)
tree7df6ede29e67942f4f27690a8b007d4de12374ba /bootstrap
parentcd5520e4395eda08ee9db9df8f31f1140acd55fe (diff)
downloadautomake-d628025fd4ad5ce662a24a818ae97f1af7c0a7d3.tar.gz
Bootstrap: fixlet.
* bootstrap: Do not remove `lib/Automake/Config.pm' anymore, since we don't generate it. Correctly quote arguments of `eval' builtin. Fixed a botched error message. Removed an extra blank line.
Diffstat (limited to 'bootstrap')
-rwxr-xr-xbootstrap6
1 files changed, 2 insertions, 4 deletions
diff --git a/bootstrap b/bootstrap
index f72346f79..9f1a8d824 100755
--- a/bootstrap
+++ b/bootstrap
@@ -49,7 +49,7 @@ fi
# Read the rule for calculating APIVERSION and execute it.
apiver_cmd=`sed -ne 's/\[\[/[/g;s/\]\]/]/g;/^APIVERSION=/p' configure.ac`
-eval $apiver_cmd
+eval "$apiver_cmd"
# Sanity checks.
if test -z "$VERSION"; then
@@ -58,7 +58,7 @@ if test -z "$VERSION"; then
fi
if test -z "$APIVERSION"; then
- echo "$me: cannot find VERSION" >&2
+ echo "$me: cannot find APIVERSION" >&2
exit 1
fi
@@ -90,7 +90,6 @@ dosubst ()
chmod a-w $2
}
-
# Create temporary replacement for lib/Automake/Config.pm.
dosubst automake-$APIVERSION/Automake/Config.in \
automake-$APIVERSION/Automake/Config.pm
@@ -117,4 +116,3 @@ $PERL ./automake.tmp
# Remove temporary files and directories.
rm -rf aclocal-$APIVERSION automake-$APIVERSION
rm -f aclocal.tmp automake.tmp
-rm -f lib/Automake/Config.pm