[gcompris] internal tool: updated check missing voices to work again.



commit 18e84487dd4595aeddf54473ae2fcf6b2ee2b761
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Wed Jan 25 01:02:27 2012 +0100

    internal tool: updated check missing voices to work again.

 tools/check_missing_voices.pl |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/tools/check_missing_voices.pl b/tools/check_missing_voices.pl
index b10b1fc..5b17a58 100755
--- a/tools/check_missing_voices.pl
+++ b/tools/check_missing_voices.pl
@@ -18,15 +18,16 @@ if(!defined $ARGV[0])
   }
 my $TARGET_LOCALE =  $ARGV[0];
 
-my $BASEDIR="./boards/sounds";
+my $BASEDIR="./boards/voices";
 
 # I don't set alphabet dir, it's too locale specific
 my @SUBDIRS= qw/geography misc colors/;
 
-if(! -d $BASEDIR)
+if(! -f "$BASEDIR/en/misc/welcome.ogg")
   {
     print "ERROR: You must run this tool from the top GCompris directory this way:\n";
     print "       ./tools/check_missing_voices.pl $TARGET_LOCALE\n";
+    print "       You must make a link from boards/voices to its actual location.\n";
     exit(1);
   }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]