1 |
On Sun, 14 Apr 2013 11:59:14 +0200 |
2 |
Pacho Ramos <pacho@g.o> wrote: |
3 |
|
4 |
> El dom, 14-04-2013 a las 11:45 +0200, Michał Górny escribió: |
5 |
> > On Sun, 14 Apr 2013 11:40:03 +0200 |
6 |
> > Pacho Ramos <pacho@g.o> wrote: |
7 |
> > |
8 |
> > > # >=mono-0.92 versions using mcs -pkg:foo-sharp require shared memory, so we set the |
9 |
> > > # shared dir to ${T} so that ${T}/.wapi can be used during the install process. |
10 |
> > > export MONO_SHARED_DIR="${T}" |
11 |
> > |
12 |
> > Don't use ${T} in global scope. And just don't export them |
13 |
> > in the global scope either. |
14 |
> |
15 |
> Why not? |
16 |
|
17 |
Let's start with the fact that ${T} is only partially persistent |
18 |
by the words of PMS. I don't know if it's really relevant here but |
19 |
you're exporting persistent variables with value based on |
20 |
an non-persistent one. |
21 |
|
22 |
Thinking about it more, it probably would work. As long as you don't |
23 |
assume anything about those directories on pkg_*rm() where ${T} would |
24 |
have changed already and your variables wouldn't. |
25 |
|
26 |
Also, why are you exporting HOME? PMS does that already... |
27 |
|
28 |
-- |
29 |
Best regards, |
30 |
Michał Górny |