Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 313219 Details for
Bug 417601
python-distutils-ng: would use a function to generate USEdeps
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Test case for using a variable in DEPEND
b.bash (text/plain), 393 bytes, created by
Michał Górny
on 2012-05-27 08:27:45 UTC
(
hide
)
Description:
Test case for using a variable in DEPEND
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2012-05-27 08:27:45 UTC
Size:
393 bytes
patch
obsolete
>#!/bin/bash > >set_vstr() { > local v > > PYTHON_USESTR="" > set -- 26 27 31 32 > while [[ $# -ge 1 ]] > do > PYTHON_USESTR+=$1 > [[ $# -gt 1 ]] && PYTHON_USESTR+=',' > shift > done >} > >test() { > local i > > for (( i = 0; i < 1000; i++ )) > do > set_vstr > > DUPA="foo > var[$PYTHON_USESTR] > bar[$PYTHON_USESTR] > car[$PYTHON_USESTR] > dar[$PYTHON_USESTR] > ear[$PYTHON_USESTR] > " > done >} > >time test
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 Raw
Actions:
View
Attachments on
bug 417601
:
313217
| 313219