diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-09-28 15:07:48 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-09-28 15:07:48 +1000 |
commit | 0c2731596f27f2cdf5000ba41de37e7eb86ad6f9 (patch) | |
tree | c3547601f77073bbba94daacda06ca825436a806 | |
parent | 83023ffd09a84ff48e6b99f57ebad101a00478db (diff) |
Put tests for zero-sized strings in quotes (#24060)
X.Org Bug 24060 <http://bugs.freedesktop.org/show_bug.cgi?id=24060>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | shave-libtool.in | 2 | ||||
-rw-r--r-- | shave.in | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/shave-libtool.in b/shave-libtool.in index f19a69e20..488c657e9 100644 --- a/shave-libtool.in +++ b/shave-libtool.in | |||
@@ -58,7 +58,7 @@ esac | |||
58 | lt_unmangle "$lt_output" | 58 | lt_unmangle "$lt_output" |
59 | output=$last_result | 59 | output=$last_result |
60 | 60 | ||
61 | if test -z $V; then | 61 | if test -z "$V"; then |
62 | if test $pass_though -eq 0; then | 62 | if test $pass_though -eq 0; then |
63 | echo "$Q$output" | 63 | echo "$Q$output" |
64 | fi | 64 | fi |
@@ -75,7 +75,7 @@ esac | |||
75 | lt_unmangle "$lt_output" | 75 | lt_unmangle "$lt_output" |
76 | output=$last_result | 76 | output=$last_result |
77 | 77 | ||
78 | if test -z $V; then | 78 | if test -z "$V"; then |
79 | if test $pass_through -eq 0; then | 79 | if test $pass_through -eq 0; then |
80 | echo "$Q$output" | 80 | echo "$Q$output" |
81 | fi | 81 | fi |