File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -178,12 +178,14 @@ else
178178 not_ok " project.pbxproj DYLIB_CURRENT_VERSION is inconsistent, expected $ref , got $dylib_cur "
179179fi
180180
181- sdl_req=$( sed -ne ' s/\$sdl2_version = "\([0-9.]*\)"$/\1/p' .github/fetch_sdl_vc.ps1)
181+ if [ -f .github/fetch_sdl_vc.ps1 ]; then
182+ sdl_req=$( sed -ne ' s/\$sdl2_version = "\([0-9.]*\)"$/\1/p' .github/fetch_sdl_vc.ps1)
182183
183- if [ " $ref_sdl_req " = " $sdl_req " ]; then
184- ok " .github/fetch_sdl_vc.ps1 $sdl_req "
185- else
186- not_ok " .github/fetch_sdl_vc.ps1 sdl2_version=$sdl_req disagrees with configure.ac SDL_VERSION=$ref_sdl_req "
184+ if [ " $ref_sdl_req " = " $sdl_req " ]; then
185+ ok " .github/fetch_sdl_vc.ps1 $sdl_req "
186+ else
187+ not_ok " .github/fetch_sdl_vc.ps1 sdl2_version=$sdl_req disagrees with configure.ac SDL_VERSION=$ref_sdl_req "
188+ fi
187189fi
188190
189191echo " 1..$tests "
You can’t perform that action at this time.
0 commit comments