Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
that's ok to have a failure in that section since we're trying to detect whether...
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 23 Dec 2009 16:45:51 +0000 (16:45 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Wed, 23 Dec 2009 16:45:51 +0000 (16:45 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6970 48e7efb5-ca39-0410-a469-dd3cf9ba447f

buildtools/scripts/simgrid_build.functions

index fd8c719..22dfd19 100644 (file)
@@ -7,12 +7,14 @@ get_version() {
   if [ x$version = x ] ; then
     cd ${SIMGRID_SVN_ROOT}
     if [ -e .svn ] ; then
+      set +e
       svn up 2>/dev/null
       if [ $? = 0 ] ; then
         version="simgrid-3.3.4-svn-r"`svnversion`
       else
         version="simgrid-3.3.4-svn-r"`head -n 4 .svn/entries |tail -n 1`
       fi
+      set -e
     else if [ -e .git ] ; then
       version="simgrid-3.3.4-git-r"`git log --oneline -1 | sed 's| .*||'`
     fi fi