X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=scripts%2Fvalidate-abi.sh;h=c36ad61df67a0141b115166083e410ed243d1fd5;hb=aa664f45cc744d28778656136d0883ccd15839d6;hp=8d7be2429062137121a9989d13fe2b88acf1e166;hpb=9cbae2aa64eb78b1214dd1aeb15d2b8f4e9d0ef8;p=dpdk.git diff --git a/scripts/validate-abi.sh b/scripts/validate-abi.sh index 8d7be24290..c36ad61df6 100755 --- a/scripts/validate-abi.sh +++ b/scripts/validate-abi.sh @@ -121,8 +121,8 @@ then cleanup_and_exit 1 fi -HASH1=$(git show -s --format=%H "$TAG1" -- 2> /dev/null) -HASH2=$(git show -s --format=%H "$TAG2" -- 2> /dev/null) +HASH1=$(git show -s --format=%H "$TAG1" -- 2> /dev/null | tail -1) +HASH2=$(git show -s --format=%H "$TAG2" -- 2> /dev/null | tail -1) # Make sure our tags exist res=$(validate_tags)