On Fri, Sep 18, 2009 at 8:17 AM, ram s <ramforummail@xxxxxxxxx> wrote:
Hello ,
Can I use cp call in %install section.
%install
rm -rf $RPM_BUILD_ROOT
mkdir -p $RPM_BUILD_ROOT/
#install -d bin /home/myhome
mkdir -m 777 -p $RPM_BUILD_ROOT/home/dictator/nco
mkdir -p $RPM_BUILD_ROOT/home/myhome perhaps ? BTW, better to use cp -a
cp -r bin $RPM_BUILD_ROOT/home/myhome
cp -r jar $RPM_BUILD_ROOT/home/myhome
is it correct.
If I use install to copy directories and sub directories it creates problem.
I need this question help soon.
thank you.
_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxxxxx
http://lists.rpm.org/mailman/listinfo/rpm-list
_______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxxxxx http://lists.rpm.org/mailman/listinfo/rpm-list