[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [SCM] GNU Libtool branch, master, updated. v2.4.5-5-gc60e054
From: |
Eric Blake |
Subject: |
Re: [SCM] GNU Libtool branch, master, updated. v2.4.5-5-gc60e054 |
Date: |
Tue, 20 Jan 2015 10:34:30 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 01/20/2015 10:24 AM, Gary V. Vaughan wrote:
> * gl/build-aux/bootstrap.in, gl/build-aux/extract-trace,
> gl/build-aux/funclib.sh, gl/build-aux/options-parser: Sync with
> upstream.
> @@ -2267,11 +2267,12 @@ func_tool_version_number ()
> {
> $debug_cmd
>
> - _G_verout=`func_tool_version_output "$@" |sed 1q`
> + _G_verout=`func_tool_version_output "$@"`
> _G_status=$?
>
> # A version number starts with a digit following a space on the first
> # line of output from `--version`.
> + _G_verout=`echo "$_G_verout" |sed 1q`
How probable is it that $_G_verout will ever be output captured from
some tool that includes \ in its output? If so, you'd want to use
printf to make sure you don't run foul of a shell where \ is
interpolated by echo.
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- Re: [SCM] GNU Libtool branch, master, updated. v2.4.5-5-gc60e054,
Eric Blake <=