summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGary V. Vaughan <gary@gnu.org>2014-01-03 18:20:40 +1300
committerGary V. Vaughan <gary@gnu.org>2014-01-03 18:25:53 +1300
commit5b1d8fd0a05f2aec7f67082c9343a9a592910a2c (patch)
treea2cfceb3261d929e6e6ad1fafee02d55582562c5
parent9f8717edbcb133d0aa3fa797e56de83432acd941 (diff)
downloadlibtool-5b1d8fd0a05f2aec7f67082c9343a9a592910a2c.tar.gz
bootstrap: fix test-dollar sanity check failure.
* gl/build-aux/bootstrap.in (func_ensure_README): quote argument. * bootstrap: Regenerate. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
-rwxr-xr-xbootstrap6
-rwxr-xr-xgl/build-aux/bootstrap.in6
2 files changed, 6 insertions, 6 deletions
diff --git a/bootstrap b/bootstrap
index 44cd0cdc..e102622a 100755
--- a/bootstrap
+++ b/bootstrap
@@ -3029,17 +3029,17 @@ EOT
# Without AM_INIT_AUTOMAKE([foreign]), automake will not run to
# completion with no README file, even though README.md or README.txt
# is often preferable.
-func_ensure_changelog ()
+func_ensure_README ()
{
$debug_cmd
test -f README || {
_G_README=
for _G_readme in README.txt README.md README.rst; do
- test -f $_G_readme && break
+ test -f "$_G_readme" && break
done
- test -f $_G_readme && $LN_S $_G_readme README
+ test -f "$_G_readme" && $LN_S $_G_readme README
func_verbose "$LN_S $_G_readme README"
}
diff --git a/gl/build-aux/bootstrap.in b/gl/build-aux/bootstrap.in
index d596c847..848d344f 100755
--- a/gl/build-aux/bootstrap.in
+++ b/gl/build-aux/bootstrap.in
@@ -695,17 +695,17 @@ EOT
# Without AM_INIT_AUTOMAKE([foreign]), automake will not run to
# completion with no README file, even though README.md or README.txt
# is often preferable.
-func_ensure_changelog ()
+func_ensure_README ()
{
$debug_cmd
test -f README || {
_G_README=
for _G_readme in README.txt README.md README.rst; do
- test -f $_G_readme && break
+ test -f "$_G_readme" && break
done
- test -f $_G_readme && $LN_S $_G_readme README
+ test -f "$_G_readme" && $LN_S $_G_readme README
func_verbose "$LN_S $_G_readme README"
}