CLOUDSTACK-7106 : RPM build failing with RHEL7 (Failing while passing -p but not -o) Reviewed By : Santosh

Signed-off-by: Santhosh Edukulla <santhosh.edukulla@gmail.com>
This commit is contained in:
Damodar 2014-08-26 11:29:31 +05:30 committed by Santhosh Edukulla
parent 7ea7deded0
commit 9ab78b7eb2
1 changed files with 4 additions and 0 deletions

View File

@ -132,6 +132,10 @@ elif [ $# -gt 0 ] ; then
esac
done
if [ -z "${os+xxx}" ]; then
echo "Setting os to default"
os="default"
fi
echo "Passed OS = $os and packageval = $packageval"
packaging $os $packageval
else