From e32ca7b69b019787414fb74a8b6b7dd413cd53d0 Mon Sep 17 00:00:00 2001 From: mungewell Date: Wed, 2 Nov 2011 05:26:55 +0000 Subject: [PATCH] made them work properly git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@4036 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: f8ddf94852161075b624021fecd36a219ca15603 Former-commit-id: 54f8a9dd65f1d3f150b066f587ebc77babf2026d --- src/tools/scripts/check_robot_skins.py | 2 +- src/tools/scripts/check_robot_skins.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tools/scripts/check_robot_skins.py b/src/tools/scripts/check_robot_skins.py index 3343f1afd..b34873a18 100644 --- a/src/tools/scripts/check_robot_skins.py +++ b/src/tools/scripts/check_robot_skins.py @@ -87,7 +87,7 @@ for item in list(p): standard_ver = check_version(standard) if standard_ver: - preview = ".".join([os.sep.join([options.dir, number, car]), "jpg"]) + preview = "-".join([os.sep.join([options.dir, number, car]), "preview.jpg"]) preview_ver = check_version(preview) if (model_ver > standard_ver): diff --git a/src/tools/scripts/check_robot_skins.sh b/src/tools/scripts/check_robot_skins.sh index 49bd697eb..2e27a5029 100644 --- a/src/tools/scripts/check_robot_skins.sh +++ b/src/tools/scripts/check_robot_skins.sh @@ -4,7 +4,7 @@ # Uncommet for SVN version checking #versioning="-s" # of for Git-svn version checking -versioning="-g" +#versioning="-g" drivers="`pwd`/../../drivers/" cars="`pwd`/../../../data/cars/models/"