diff --git a/scripts/run-tests b/scripts/run-tests index 1ec0677ed2..4317a8c1fd 100755 --- a/scripts/run-tests +++ b/scripts/run-tests @@ -11,11 +11,7 @@ cd $basedir/bin # Scan objects first so that does not happen within a test echo -e "\033[0;36mBuilding OpenRCT2 repository indexes...\033[0m" -if [[ $(uname) == "Darwin" ]]; then - ./openrct2-cli scan-objects -else - ./openrct2 scan-objects -fi +./openrct2-cli scan-objects if [[ "$OSTYPE" == "cygwin" || "$OSTYPE" == "msys" ]]; then # Now run all the tests