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

Re: Bash commands in spec file



--- Chetan <chetan@mistralsoftware.com> wrote:
> Hello,
>     Can Bash Scripts be used in the %build section
> of a RPM.
> I used a script mkscript.sh and invoked it using 
> %build 
> ./mkscript.sh 
> 
> But I am getting : No such file or directory
> kscript.sh 
> 
>  Please can anybody help regarding this
> Thank You,
> 
> Chetan M N
> 
> 
During %build you can use everything that run.
rpm can't find your script because during package
building it does a lot of chdir, so, if mkscrip.sh is
not a part of your package sources it will not be in
the current dir.

Valery



__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/





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