speechd-discuss
[Top][All Lists]
Advanced

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

[PATCH (speechd) 2/2] Properly quote variable expansions.


From: Christopher Brannon
Subject: [PATCH (speechd) 2/2] Properly quote variable expansions.
Date: Sat, 27 Feb 2010 11:29:16 -0600

The previous version of src/python/Makefile.in
does not quote all variable references.
If spaces are used in directory names, make will probably fail at
install-time.
---
 src/python/Makefile.in |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/python/Makefile.in b/src/python/Makefile.in
index b7357cf..386125d 100644
--- a/src/python/Makefile.in
+++ b/src/python/Makefile.in
@@ -24,17 +24,17 @@ install:
        else \
                echo "Python not found, not installing speechd module nor 
spd-conf"; \
        fi
-       cp speechd_config/test.wav address@hidden@
+       cp speechd_config/test.wav "address@hidden@"
 
-       if test ! -d address@hidden@; then \
-               mkdir -p address@hidden@; \
+       if test ! -d "address@hidden@"; then \
+               mkdir -p "address@hidden@"; \
        fi
 
-       cp speechd_config/speechd.desktop address@hidden@/
+       cp speechd_config/speechd.desktop "address@hidden@/"
 
 uninstall:
-       rm -f address@hidden@/test.wav
-       rm -rf address@hidden@
+       rm -f "address@hidden@/test.wav"
+       rm -rf "address@hidden@"
 
 clean:
        rm -f *.pyc
-- 
1.7.0




reply via email to

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