DEVTOOLS: Made check for ADGF_TESTING more portable

This commit is contained in:
Eugene Sandulenko 2023-12-15 14:52:23 +01:00
parent be57d3e79c
commit e256999c9a
No known key found for this signature in database
GPG Key ID: 014D387312D34F08

View File

@ -161,7 +161,7 @@ echo_n "Checking ADGF_TESTING..."
# engines/advancedDetector.h: ADGF_TESTING = (1u << 19), ///< Flag to designate not yet officially supported games that are fit for public testing.
# engines/ags/detection_tables.h: DETECTION_ENTRY(ID, FILENAME, MD5, SIZE, LANG, PLATFORM, nullptr, ADGF_TESTING)
git -P grep ADGF_TESTING | grep -v engines/advancedDetector. | grep -v "engines/ags/detection_tables.h:\tDETECTION_ENTRY.ID," | grep -v devtools/release-checks.sh >$TMP
git -P grep ADGF_TESTING | grep -v engines/advancedDetector. | grep -v "engines/ags/detection_tables.h:.DETECTION_ENTRY.ID," | grep -v devtools/release-checks.sh >$TMP
num_lines=`cat $TMP | wc -l`