forked from Github_Repos/cvw
added snippet to ignore comments in .diff files as well
This commit is contained in:
parent
369e799ce3
commit
6f701a16b3
@ -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