Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Automatically set the execution bit to the smpi scripts
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 23 Jun 2009 11:40:01 +0000 (11:40 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 23 Jun 2009 11:40:01 +0000 (11:40 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6328 48e7efb5-ca39-0410-a469-dd3cf9ba447f

configure.ac

index c6562d6..0f18311 100644 (file)
@@ -576,6 +576,13 @@ AC_CONFIG_FILES([
 AC_CONFIG_FILES([
   src/smpi/smpicc
   src/smpi/smpirun
+],[
+    for file in                                                 \
+      src/smpi/smpicc                                           \
+      src/smpi/smpirun                                          \
+    ; do                                                        \
+      test -e $file && chmod +x $file;                          \
+    done
 ])
 
 # GRAMINE_CUT_END