From: navarrop Date: Wed, 14 Apr 2010 16:35:22 +0000 (+0000) Subject: Be sure we can execute this script. X-Git-Tag: SVN~175 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/3b05d316a902d685ea3302273da3b7cf7e018594 Be sure we can execute this script. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7566 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/buildtools/Cmake/src/CMakeMaintainerMode.txt b/buildtools/Cmake/src/CMakeMaintainerMode.txt index b105a706e3..560b7c2730 100644 --- a/buildtools/Cmake/src/CMakeMaintainerMode.txt +++ b/buildtools/Cmake/src/CMakeMaintainerMode.txt @@ -109,6 +109,7 @@ if(PERL_EXE) #$(TEST_UNITS): $(TEST_CFILES) string(REPLACE ";" " " USE_TEST_CFILES "${TEST_CFILES}") + exec_program("chmod a=rwx ${PROJECT_DIRECTORY}/tools/sg_unit_extractor.pl" "${PROJECT_DIRECTORY}/src/") exec_program("${PROJECT_DIRECTORY}/tools/sg_unit_extractor.pl ${USE_TEST_CFILES}" "${PROJECT_DIRECTORY}/src/") #@builddir@/simgrid_units_main.c: $(TEST_UNITS)