Mailinglist Archive: opensuse-buildservice (219 mails)

< Previous Next >
Re: [opensuse-buildservice] Is there an enviroment variable that point to Source root tree ??
  • From: Petr Cerny <pcerny@xxxxxxx>
  • Date: Fri, 01 Feb 2008 17:58:43 +0100
  • Message-id: <47A34FC3.4010303@xxxxxxx>
Dirk Stoecker wrote:

on opensuse the source tree is
on mandriva
on Fedora
... :-S
is there an enviroment variable like $BUILD_ROOT ... (i.e. $SOURCE_ROOT)
that point to source tree ??

There is, but usually you want
%{SOURCE0}, %{SOURCE1}, access the source files directly.

or %{S:n} which expands to %{SOURCEn} or for %{P:n} -> %{PATCHn}
which can also be seen from time to time.

Best regrds
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse-buildservice+help@xxxxxxxxxxxx

< Previous Next >