upgradeFromGit.sh : Added test with checkDocExportsNecessity.sh script to know if...
authorBenjamin Renard <brenard@aconit.easter-eggs.fr>
Wed, 21 Apr 2010 10:10:06 +0000 (12:10 +0200)
committerBenjamin Renard <brenard@aconit.easter-eggs.fr>
Wed, 21 Apr 2010 10:10:06 +0000 (12:10 +0200)
upgradeFromGit.sh

index 7213b8a..f1ebb43 100755 (executable)
@@ -234,6 +234,7 @@ fi
 
 if [ $BUILD_DOC -eq 1 ]
 then
+       [ -n "$LAST_UPDATE_FILE" ] && [ "`$ROOT_DIR/checkDocExportsNecessity.sh`" == "" ] && echo "Export documentation is not necessary. Pass." && exit 
        msg "-> Do you want build the documentation (y/N) ? " -en
        read a
        if [ "$a" == "y" -o "$a" == "Y" ]