Give each sh/dash compatibility warning its own SC3xxx error code

This commit is contained in:
Vidar Holen
2020-09-01 16:48:14 -07:00
parent 58783ab3cc
commit cfd68ee0c2
4 changed files with 62 additions and 58 deletions

View File

@@ -6,7 +6,7 @@ then
exit 1
fi
for i in 1 2
for i in 1 2 3
do
last=$(grep -hv "^prop" ./**/*.hs | grep -Ewo "${i}[0-9]{3}" | sort -n | tail -n 1)
echo "Next ${i}xxx: $((last+1))"