Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 566528 - dev-db/xtrabackup-bin: calls use in global scope
Summary: dev-db/xtrabackup-bin: calls use in global scope
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Christian Ruppert (idl0r)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: global-scope-use
  Show dependency tree
 
Reported: 2015-11-22 22:33 UTC by Michał Górny
Modified: 2015-12-06 21:55 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-11-22 22:33:09 UTC
if use amd64; then                                                               
    S="${WORKDIR}/${MY_P}-Linux-x86_64"                                          
elif use x86; then                                                               
    S="${WORKDIR}/${MY_P}-Linux-i686"                                            
fi

Most likely belongs in src_unpack() (or pkg_setup() but that's just lazy, not correct).
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2015-12-06 21:55:58 UTC
Fixed through moving to src_unpack().

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=917c688b69ccd109023d8f2c22dd76aad7e14841