summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-09-28 15:07:48 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-09-28 15:07:48 +1000
commit0c2731596f27f2cdf5000ba41de37e7eb86ad6f9 (patch)
treec3547601f77073bbba94daacda06ca825436a806
parent83023ffd09a84ff48e6b99f57ebad101a00478db (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.in2
-rw-r--r--shave.in2
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
@@ -55,13 +55,13 @@ link)
;;
esac
lt_unmangle "$lt_output"
output=$last_result
-if test -z $V; then
+if test -z "$V"; then
if test $pass_though -eq 0; then
echo "$Q$output"
fi
$LIBTOOL --silent $preserved_args
else
echo $LIBTOOL $preserved_args
diff --git a/shave.in b/shave.in
index 809d606af..397b0769f 100644
--- a/shave.in
+++ b/shave.in
@@ -72,13 +72,13 @@ find-ld,*)
;;
esac
lt_unmangle "$lt_output"
output=$last_result
-if test -z $V; then
+if test -z "$V"; then
if test $pass_through -eq 0; then
echo "$Q$output"
fi
$REEL_TOOL $preserved_args
else
echo $REEL_TOOL $preserved_args