build script: info message about data version
authorFrantišek Kučera <franta-hg@frantovo.cz>
Sun, 11 Aug 2013 13:24:53 +0200
changeset 311d83850b548a
parent 30 c18b33cc8329
child 32 149b604c319b
build script: info message about data version
build.sh
     1.1 --- a/build.sh	Sun Aug 11 13:22:24 2013 +0200
     1.2 +++ b/build.sh	Sun Aug 11 13:24:53 2013 +0200
     1.3 @@ -37,7 +37,7 @@
     1.4  
     1.5  pushd `dirname $0`/$GENERATOR_DIR
     1.6  
     1.7 -hg status ../../data/dictionary.xml | grep -q "^M" && echo -e "\033[31mWARNING: building from data file which was not commited into Mercurial!\033[0m";
     1.8 +hg status ../../data/dictionary.xml | grep -q "^M" && echo -e "\033[31mWARNING: building from data file which was not commited into Mercurial!\033[0m" || (echo -e "\033[32mINFO: building from versioned data file: `hg identify` \033[0m");
     1.9  
    1.10  # build the generator if needed
    1.11  if [ ! -f $JAR ]; then