LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   path for directory while doing rpm -ivh (http://www.linuxquestions.org/questions/linux-newbie-8/path-for-directory-while-doing-rpm-ivh-151136/)

newbielinux 02-27-2004 08:47 AM

path for directory while doing rpm -ivh
 
hi

I have a script in which I am creating directory structure....

redhat
->BUILD
->RPMS
->SOURCES
->SPECS
->SRPMS

all these are directories under redhat directory.......

In script I want to do
rpm -ivh for my src.rpm and want that the tar.gz should go inside
redhat/SPECS.....so that finally I can do rpmbuild in same script...

How can I specify the directory path where I want the src.rpm to get install
and give me tar.gz at that directory?????

Pls help


All times are GMT -5. The time now is 10:07 PM.