From: mquinson Date: Tue, 22 Dec 2009 15:48:34 +0000 (+0000) Subject: fix some glitches in make_dist.sh X-Git-Tag: SVN~811 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/c4399244e3d118343efd1d933c6f4ef13f532dda fix some glitches in make_dist.sh git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6915 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/buildtools/Cmake/make_dist.sh b/buildtools/Cmake/make_dist.sh old mode 100644 new mode 100755 index 26cf404a53..073bc7f92d --- a/buildtools/Cmake/make_dist.sh +++ b/buildtools/Cmake/make_dist.sh @@ -1,5 +1,8 @@ #!/bin/bash +# fail fast on errors +set -e + # This script creates a new dist archive from the svn source cmake_simgrid.conf @@ -10,6 +13,9 @@ echo "update the svn" cd ${SIMGRID_SVN_ROOT} svn up +set -x # be verbose + + echo "rebuild the missing files for compilation" ./bootstrap ./configure --enable-maintainer-mode --disable-compile-optimizations @@ -18,6 +24,7 @@ echo "Make the archive" make all dist echo "Copy the archive in position" +mkdir -p ${SIMGRID_BASEDIR} mv simgrid*.tar.gz ${SIMGRID_BASEDIR} echo "Done!"