ThirdParty: stop building script when spec file is missing

This commit is contained in:
Martin Beaudoin 2012-04-12 16:38:40 -04:00
parent ac36241800
commit d33b9255e9

View file

@ -166,8 +166,8 @@ rpm_build()
cd $buildBase cd $buildBase
[ -e ./SPECS/$specFile ] || { [ -e ./SPECS/$specFile ] || {
echo "rpm_build: missing SPEC file for package $package. Aborting." echo "rpm_build: Error: missing SPEC file for package $package. Aborting."
return 1 exit -1
} }
#Build RPM package #Build RPM package