1 |
On 04/14/2013 02:59 AM, Pacho Ramos wrote: |
2 |
> El dom, 14-04-2013 a las 11:45 +0200, Michał Górny escribió: |
3 |
>> On Sun, 14 Apr 2013 11:40:03 +0200 |
4 |
>> Pacho Ramos <pacho@g.o> wrote: |
5 |
>> |
6 |
>>> # >=mono-0.92 versions using mcs -pkg:foo-sharp require shared memory, so we set the |
7 |
>>> # shared dir to ${T} so that ${T}/.wapi can be used during the install process. |
8 |
>>> export MONO_SHARED_DIR="${T}" |
9 |
>> |
10 |
>> Don't use ${T} in global scope. And just don't export them |
11 |
>> in the global scope either. |
12 |
>> |
13 |
> |
14 |
> Why not? |
15 |
|
16 |
It's more flexible if you put it in a function and call it from |
17 |
pkg_setup. That way, if it turns out that you need to do something that |
18 |
can't be done in global scope, you're already prepared. |
19 |
-- |
20 |
Thanks, |
21 |
Zac |