mirror of
https://github.com/assimp/assimp.git
synced 2026-01-18 17:11:20 +01:00
fix scan_printf script error code handling
This commit is contained in:
@@ -6,8 +6,7 @@ grep \
|
||||
-rnw include code \
|
||||
-e '^\s*printf'
|
||||
|
||||
if [ $? ]
|
||||
then
|
||||
if [ $? -eq 0 ]; then
|
||||
echo "Debug statement(s) detected. Please uncomment (using single-line comment), remove, or manually add to exclude filter, if appropriate"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user