Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
split up config and function definitions; if ~/simgrid-svn/buildtools/scripts/simgrid...
[simgrid.git] / buildtools / scripts / make_dist.sh
index 4bdfc39..beb084f 100755 (executable)
@@ -2,7 +2,13 @@
 # This script creates a new dist archive from the svn
 
 set -e # fail fast on errors 
 # This script creates a new dist archive from the svn
 
 set -e # fail fast on errors 
-source ~/simgrid-svn/buildtools/scripts/simgrid_build.conf # get config
+
+# get config
+if [ -e ~/simgrid-svn/buildtools/scripts/simgrid_build.conf ] ; then
+  source ~/simgrid-svn/buildtools/scripts/simgrid_build.conf
+else
+  source ~/.simgrid_build.conf
+fi
 
 echo "get Linux dependencies"
 sudo aptitude install -y libtool automake1.10 autoconf libgcj10-dev gcc g++ bash flex flexml doxygen bibtex bibtool iconv bibtex2html addr2line valgrind transfig
 
 echo "get Linux dependencies"
 sudo aptitude install -y libtool automake1.10 autoconf libgcj10-dev gcc g++ bash flex flexml doxygen bibtex bibtool iconv bibtex2html addr2line valgrind transfig