For example "snmp" will return both snmp and snmp4sdn. This patch makes
it clear we only want the result of snmp only.
Change-Id: I2224cb5bdbe3f4a976d095e9a7b696a8b9e2008a
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
(cherry picked from commit
bb0d68fb970a101660b9027af2b383ea29068571)
# built the release. Basically ensuring that no new patches snuck into the
# project during code freeze.
CURRENT_HASH=`git rev-parse HEAD`
-EXPECTED_HASH=`grep $project $PATCH_DIR/taglist.log | awk '{ print $2 }'`
+EXPECTED_HASH=`grep "$project[[:space:]]" $PATCH_DIR/taglist.log | awk '{ print $2 }'`
echo "Current Hash: $CURRENT_HASH"
echo "Expected Hash: $EXPECTED_HASH"
if [ "$CURRENT_HASH" != "$EXPECTED_HASH" ]