automake-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[automake-commit] branch master updated: dejagnu: quote `pwd` when writi


From: Karl Berry
Subject: [automake-commit] branch master updated: dejagnu: quote `pwd` when writing "set objdir" line to site.exp.
Date: Fri, 13 Nov 2020 20:50:20 -0500

This is an automated email from the git hooks/post-receive script.

karl pushed a commit to branch master
in repository automake.

View the commit online:
https://git.savannah.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=37b70ac4cf93a7212718a6d8630ed43f9750439b

The following commit(s) were added to refs/heads/master by this push:
     new 37b70ac  dejagnu: quote `pwd` when writing "set objdir" line to 
site.exp.
37b70ac is described below

commit 37b70ac4cf93a7212718a6d8630ed43f9750439b
Author: Robert Menteer <reetnem@mac.com>
AuthorDate: Fri Nov 13 17:50:09 2020 -0800

    dejagnu: quote `pwd` when writing "set objdir" line to site.exp.
    
    This change fixes https://bugs.gnu.org/44600.
    
    * lib/am/dejagnu.am (site.exp): quote set objdir line.
    * NEWS: mention this.
---
 NEWS              | 2 ++
 lib/am/dejagnu.am | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index 83f7935..e55b629 100644
--- a/NEWS
+++ b/NEWS
@@ -85,6 +85,8 @@ New in ?.?.?:
     distributed C files work, and operation is more reliable with or without
     an installed valac.
 
+  - Dejagnu doesn't break on directories containing spaces.
+
 * Distribution
 
   - new variable AM_DISTCHECK_DVI_TARGET, to allow overriding the
diff --git a/lib/am/dejagnu.am b/lib/am/dejagnu.am
index adeaf31..6fa42c6 100644
--- a/lib/am/dejagnu.am
+++ b/lib/am/dejagnu.am
@@ -54,7 +54,7 @@ site.exp: Makefile $(EXTRA_DEJAGNU_SITE_CONFIG)
        @echo '# Do not edit here.  If you wish to override these values' 
>>site.tmp
        @echo '# edit the last section' >>site.tmp
        @echo 'set srcdir "$(srcdir)"' >>site.tmp
-       @echo "set objdir `pwd`" >>site.tmp
+       @echo "set objdir \"`pwd`\"" >>site.tmp
 ## Quote the *_alias variables because they might be empty.
 ?BUILD?        @echo 'set build_alias "$(build_alias)"' >>site.tmp
 ?BUILD?        @echo 'set build_triplet $(build_triplet)' >>site.tmp



reply via email to

[Prev in Thread] Current Thread [Next in Thread]