Added the AIX equivalent of "cp -a ..." so that the

xCAT-server package can be built on AIX.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@86 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
nott 2007-11-27 16:05:05 +00:00
parent 7be397c997
commit d2ca68ea4e

View File

@ -41,7 +41,12 @@ mkdir -p $RPM_BUILD_ROOT/opt/csm/pm/dsh/Context
mkdir -p $RPM_BUILD_ROOT/usr/lib/xcat/monitoring/samples
%ifos linux
cp -a usr/share/xcat/install/* $RPM_BUILD_ROOT/usr/share/xcat/install/
%else
cp -hpR usr/share/xcat/install/* $RPM_BUILD_ROOT/usr/share/xcat/install/
%endif
cp usr/sbin/* $RPM_BUILD_ROOT/usr/sbin
chmod 755 $RPM_BUILD_ROOT/usr/sbin/*