mirror of https://github.com/CGAL/cgal
Fix the exit code of the script
This commit is contained in:
parent
67b8c56fa3
commit
e9637bf7b3
|
|
@ -1,3 +1,8 @@
|
|||
#/bin/bash
|
||||
#!/bin/bash
|
||||
|
||||
if grep -lE '[^'`printf '\r'`']$' $(ack -l "`printf '\r'`\$" ${@:-.}); then
|
||||
exit 1
|
||||
else
|
||||
exit 0
|
||||
fi
|
||||
|
||||
grep -lE '[^'`printf '\r'`']$' $(ack -l "`printf '\r'`\$" ${@:-.})
|
||||
|
|
|
|||
Loading…
Reference in New Issue