This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] fix elf/ldd.bash.in syntax errors


[Mike Frysinger]
> @@ -103,7 +104,7 @@
>  add_env="$add_env LD_LIBRARY_VERSION=\$verify_out"
>  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""

Don't you need some escaping in front of the inner quotes?  Something
like this?

  add_env="$add_env LD_DEBUG=\"$LD_DEBUG${LD_DEBUG:+,}unused\""


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]