Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 478344 Details for
Bug 622360
dev-libs/expat-2.2.1 configure failure with app-shells/dash as /bin/sh
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
gentoo-622360-0002.patch
gentoo-622360-0002.patch (text/plain), 1.09 KB, created by
kfm
on 2017-06-29 16:21:36 UTC
(
hide
)
Description:
gentoo-622360-0002.patch
Filename:
MIME Type:
Creator:
kfm
Created:
2017-06-29 16:21:36 UTC
Size:
1.09 KB
patch
obsolete
>From c14a17310555dfabb1ecd61bad2f7b5350f93047 Mon Sep 17 00:00:00 2001 >From: Kerin Millar <kfm@plushkava.net> >Date: Thu, 29 Jun 2017 16:54:28 +0100 >Subject: [PATCH 2/2] conftools/get-version.sh: Fix unsafe expansions of $hdr > >Also, use $() instead of ``. See http://mywiki.wooledge.org/BashFAQ/082. >--- > expat/conftools/get-version.sh | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/expat/conftools/get-version.sh b/expat/conftools/get-version.sh >index 91e5c64..2592f10 100755 >--- a/expat/conftools/get-version.sh >+++ b/expat/conftools/get-version.sh >@@ -28,8 +28,8 @@ if test ! -r "$hdr"; then > exit 1 > fi > >-MAJOR_VERSION="`sed -n -e '/MAJOR_VERSION/s/[^0-9]*//gp' $hdr`" >-MINOR_VERSION="`sed -n -e '/MINOR_VERSION/s/[^0-9]*//gp' $hdr`" >-MICRO_VERSION="`sed -n -e '/MICRO_VERSION/s/[^0-9]*//gp' $hdr`" >+MAJOR_VERSION=$(sed -n -e '/MAJOR_VERSION/s/[^0-9]*//gp' "$hdr") >+MINOR_VERSION=$(sed -n -e '/MINOR_VERSION/s/[^0-9]*//gp' "$hdr") >+MICRO_VERSION=$(sed -n -e '/MICRO_VERSION/s/[^0-9]*//gp' "$hdr") > > printf '%s.%s.%s' "$MAJOR_VERSION" "$MINOR_VERSION" "$MICRO_VERSION" >-- >2.7.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 622360
:
477496
|
477498
|
477500
|
478342
| 478344