diff --git a/xCATsn/mkrpm b/xCATsn/mkrpm index 98ac062b2..5076b72de 100755 --- a/xCATsn/mkrpm +++ b/xCATsn/mkrpm @@ -34,9 +34,9 @@ else cp xcat.conf /usr/src/$pkg/SOURCES rm -f /usr/src/$pkg/SRPMS/xCATsn-$VER*rpm /usr/src/$pkg/RPMS/*/xCATsn-$VER*rpm if [ ! -z "$1" ]; then - rpmbuild -ba xCAT.spec --target $1 + rpmbuild -ba xCATsn.spec --target $1 else - rpmbuild -ba xCAT.spec + rpmbuild -ba xCATsn.spec fi cd - fi