1 |
On Thu, Aug 19, 2004 at 08:36:35PM -0400, Aron Griffis wrote: |
2 |
> Matthieu Sozeau wrote: [Thu Aug 19 2004, 03:44:41PM EDT] |
3 |
> > local destdir=`ocamlfind printconf destdir` |
4 |
> > dodir ${destdir} |
5 |
> |
6 |
> Shouldn't ocamlfind be checked for failure before running dodir? |
7 |
|
8 |
ocamlfind should be properly installed if findlib is merged, but you're |
9 |
right, i could also be broken :) |
10 |
|
11 |
> |
12 |
> > make DESTDIR=${D} $@ install |
13 |
> |
14 |
> You probably want $@ in double-quotes: "$@" Here is the relevant |
15 |
> section from the bash man-page: |
16 |
> |
17 |
> @ Expands to the positional parameters, starting from one. When |
18 |
> the expansion occurs within double quotes, each parameter |
19 |
> expands to a separate word. That is, "$@" is equivalent to "$1" |
20 |
> "$2" ... When there are no positional parameters, "$@" and $@ |
21 |
> expand to nothing (i.e., they are removed). |
22 |
|
23 |
Thanks for the tip! |
24 |
-- |
25 |
BOFH Excuse #6: global warming |
26 |
Gentoo Developer (ml, emacs) - http://dev.gentoo.org/~mattam |