ThirdParty: stop building script when spec file is missing
This commit is contained in:
parent
ac36241800
commit
d33b9255e9
1 changed files with 2 additions and 2 deletions
|
@ -166,8 +166,8 @@ rpm_build()
|
|||
cd $buildBase
|
||||
|
||||
[ -e ./SPECS/$specFile ] || {
|
||||
echo "rpm_build: missing SPEC file for package $package. Aborting."
|
||||
return 1
|
||||
echo "rpm_build: Error: missing SPEC file for package $package. Aborting."
|
||||
exit -1
|
||||
}
|
||||
|
||||
#Build RPM package
|
||||
|
|
Reference in a new issue