Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 313217 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 calling function in DEPEND
a.bash (text/plain), 482 bytes, created by
Michał Górny
on 2012-05-27 08:27:27 UTC
(
hide
)
Description:
Test case for calling function in DEPEND
Filename:
MIME Type:
Creator:
Michał Górny
Created:
2012-05-27 08:27:27 UTC
Size:
482 bytes
patch
obsolete
>#!/bin/bash > >dostuff() { > while true > do > case "$1" in > -foo) > shift > ;; > -bar) > shift > ;; > *) > break > esac > done > > local atom=$1 > local v > > echo -n "$atom[" > set -- 26 27 31 32 > while [[ $# -ge 1 ]] > do > echo -n $1 > [[ $# -gt 1 ]] && echo -n ',' > shift > done > echo -n ']' >} > >test() { > local i > > for (( i = 0; i < 1000; i++ )) > do > DUPA="foo > $(dostuff var) > $(dostuff bar) > $(dostuff baz) > $(dostuff bak) > $(dostuff bau) > " > 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