This commit is contained in:
Mike McLean 2014-06-10 10:24:03 -04:00 committed by Karanbir Singh
parent 1842fe9505
commit 0ec59defde

View file

@ -58,9 +58,9 @@ msg=$(git log --pretty=format:"%s")
pkg=$(echo ${msg} | cut -d' ' -f2) pkg=$(echo ${msg} | cut -d' ' -f2)
if [[ ${RHELTAG} -eq 0 ]]; then if [[ ${RHELTAG} -eq 0 ]]; then
thispkg=(echo ${pkg} | head -1) thispkg=$(echo ${pkg} | head -1)
elif [[ ${RHELTAG} -eq 1 ]]; then elif [[ ${RHELTAG} -eq 1 ]]; then
thispkg=(echo ${pkg} grep -v centos | head -1) thispkg=$(echo ${pkg} grep -v centos | head -1)
else else
echo 'Something went terribly wrong' echo 'Something went terribly wrong'
exit 1 exit 1