1 |
Matthieu Sozeau wrote: [Thu Aug 19 2004, 03:44:41PM EDT] |
2 |
> local destdir=`ocamlfind printconf destdir` |
3 |
> dodir ${destdir} |
4 |
|
5 |
Shouldn't ocamlfind be checked for failure before running dodir? |
6 |
|
7 |
> make DESTDIR=${D} $@ install |
8 |
|
9 |
You probably want $@ in double-quotes: "$@" Here is the relevant |
10 |
section from the bash man-page: |
11 |
|
12 |
@ Expands to the positional parameters, starting from one. When |
13 |
the expansion occurs within double quotes, each parameter |
14 |
expands to a separate word. That is, "$@" is equivalent to "$1" |
15 |
"$2" ... When there are no positional parameters, "$@" and $@ |
16 |
expand to nothing (i.e., they are removed). |
17 |
|
18 |
Regards, |
19 |
Aron |
20 |
|
21 |
-- |
22 |
Aron Griffis |
23 |
Gentoo Linux Developer |