From 0ec59defde6495a44a7663caae82914e904a4314 Mon Sep 17 00:00:00 2001 From: Mike McLean Date: Jun 10 2014 14:28:41 +0000 Subject: fix typo --- diff --git a/return_disttag.sh b/return_disttag.sh index cc4829c..5f78d1f 100755 --- a/return_disttag.sh +++ b/return_disttag.sh @@ -58,9 +58,9 @@ msg=$(git log --pretty=format:"%s") pkg=$(echo ${msg} | cut -d' ' -f2) if [[ ${RHELTAG} -eq 0 ]]; then - thispkg=(echo ${pkg} | head -1) + thispkg=$(echo ${pkg} | head -1) elif [[ ${RHELTAG} -eq 1 ]]; then - thispkg=(echo ${pkg} grep -v centos | head -1) + thispkg=$(echo ${pkg} grep -v centos | head -1) else echo 'Something went terribly wrong' exit 1