-Fix xCATsn mkrpm script to allow build system to build other architectures

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@1926 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2008-07-22 20:04:41 +00:00
parent bd3929a522
commit 97110bca2b

View File

@ -33,6 +33,10 @@ else
tar --exclude .svn -czf /usr/src/$pkg/SOURCES/license.tar.gz LICENSE.html
cp xcat.conf /usr/src/$pkg/SOURCES
rm -f /usr/src/$pkg/SRPMS/xCATsn-$VER*rpm /usr/src/$pkg/RPMS/*/xCATsn-$VER*rpm
rpmbuild -ba xCATsn.spec
if [ ! -z "$1" ]; then
rpmbuild -ba xCAT.spec --target $1
else
rpmbuild -ba xCAT.spec
fi
cd -
fi