Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Automatically set the execution bit to the smpi scripts
[simgrid.git] / 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