Skip to content

Commit

Permalink
fix(buildscripts): make verify-src compatible with Macs
Browse files Browse the repository at this point in the history
Signed-off-by: Niladri Halder <[email protected]>
  • Loading branch information
niladrih committed Dec 6, 2023
1 parent ec6a0f9 commit 57654cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion buildscripts/check-diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ set -e
TEST_NAME=$1


if [[ `git diff --shortstat | wc -l` != 0 ]]; then
if [[ `git diff --shortstat | wc -l | tr -d ' '` != 0 ]]; then
echo "Some files got changed after $1";printf "\n";git --no-pager diff;printf "\n"; exit 1;
fi

0 comments on commit 57654cc

Please sign in to comment.