[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Environment variables in RPM installation scripts



On Mon, Aug 07, 2006 at 04:24:47PM +0900, David Leangen wrote:

> In my spec file, I want to do some scripting in the %post macro.
> However, nothing is being returned to me for the value of $RPM_BUILD_DIR
> (or anything else, for that matter), so I'm not able to locate the build
> files. [...]

Why/how should the *build* dir be available at *install* time?
All files you need at install time should be in the package.

-- 
--    Jos Vos <jos xos nl>
--    X/OS Experts in Open Systems BV   |   Phone: +31 20 6938364
--    Amsterdam, The Netherlands        |     Fax: +31 20 6948204


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]