about summary refs log tree commit diff
path: root/elf/ldd.bash.in
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-09-21 15:40:52 +0000
committerUlrich Drepper <drepper@redhat.com>2004-09-21 15:40:52 +0000
commit366ca3ac168fe2af5291d91bba6cf8fd7373cc58 (patch)
treeece1bf1fb7b03a8e00c91e5fe42c615eabb06fcf /elf/ldd.bash.in
parent1658cb803650b8a08e708f2b8b73613769732c7a (diff)
downloadglibc-366ca3ac168fe2af5291d91bba6cf8fd7373cc58.tar.gz
glibc-366ca3ac168fe2af5291d91bba6cf8fd7373cc58.tar.xz
glibc-366ca3ac168fe2af5291d91bba6cf8fd7373cc58.zip
Update.
2004-09-21  Ulrich Drepper  <drepper@redhat.com>

	* elf/ldd.bash.in: Fix syntax errors.
Diffstat (limited to 'elf/ldd.bash.in')
-rw-r--r--elf/ldd.bash.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/elf/ldd.bash.in b/elf/ldd.bash.in
index 6ee9b60e51..f400924217 100644
--- a/elf/ldd.bash.in
+++ b/elf/ldd.bash.in
@@ -75,6 +75,7 @@ For bug reporting instructions, please see:
   -u | --u | --un | --unu | --unus | --unuse | --unused)
     unused=yes
     shift
+    ;;
   --v | --ve | --ver)
     echo >&2 $"ldd: option \`$1' is ambiguous"
     exit 1
@@ -102,7 +103,7 @@ nonelf ()
 add_env="LD_TRACE_LOADED_OBJECTS=1 LD_WARN=$warn LD_BIND_NOW=$bind_now"
 add_env="$add_env LD_VERBOSE=$verbose"
 if test "$unused" = yes; then
-  add_env="$add_env LD_DEBUG="$LD_DEBUG${LD_DEBUG:+,}unused"
+  add_env="$add_env LD_DEBUG=\"$LD_DEBUG${LD_DEBUG:+,}unused\""
 fi
 case $# in
 0)