Gentoo Archives: gentoo-dev

From: Aron Griffis <agriffis@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: findlib/ocamlfind eclass
Date: Fri, 20 Aug 2004 00:45:35
Message-Id: 20040820003635.GA8947@mustard
In Reply to: [gentoo-dev] RFC: findlib/ocamlfind eclass by Matthieu Sozeau
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

Replies

Subject Author
Re: [gentoo-dev] RFC: findlib/ocamlfind eclass Matthieu Sozeau <mattam@g.o>