mirror of
https://github.com/openhwgroup/cvw
synced 2025-02-02 17:55:19 +00:00
added snippet to ignore comments in .diff files as well
This commit is contained in:
parent
6ed010adda
commit
7be3cef076
@ -36,7 +36,8 @@ do
|
|||||||
else
|
else
|
||||||
echo -e "\e[31m ... FAIL \e[39m"
|
echo -e "\e[31m ... FAIL \e[39m"
|
||||||
FAIL=$((${FAIL} + 1))
|
FAIL=$((${FAIL} + 1))
|
||||||
sdiff <(grep -o '^[^#]*' ${ref}) ${sig} > ${dif}
|
# KMG: changed sdiff similar to above
|
||||||
|
sdiff --ignore-case --ignore-trailing-space --strip-trailing-cr <(grep -o '^[^#]*' ${ref}) ${sig} > ${dif}
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user