This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [patch] fix elf/ldd.bash.in syntax errors
- From: Petter Reinholdtsen <pere at hungry dot com>
- To: Mike Frysinger <vapier at gentoo dot org>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Tue, 21 Sep 2004 15:41:50 +0200
- Subject: Re: [patch] fix elf/ldd.bash.in syntax errors
- Bcc: Petter Reinholdtsen <petter dot reinholdtsen at usit dot uio dot no>
- References: <200409210937.34446.vapier@gentoo.org>
[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\""