From 6dbfc9d3aeacb5baae1dbc9f03cc81a5a9cfcc61 Mon Sep 17 00:00:00 2001 From: Larry Knox Date: Wed, 6 Oct 2010 18:33:56 -0500 Subject: [svn-r19529] Added line to config/examples.am to remove execute permission from example source files that are installed in .../share/hdf5_examples/. This will address bugzilla #2025. Tested with h5committest on amani, heiwa, and jam. --- c++/examples/Makefile.in | 1 + config/examples.am | 1 + configure | 2 +- examples/Makefile.in | 1 + fortran/examples/Makefile.in | 1 + hl/c++/examples/Makefile.in | 1 + hl/examples/Makefile.in | 1 + hl/fortran/examples/Makefile.in | 1 + 8 files changed, 8 insertions(+), 1 deletion(-) diff --git a/c++/examples/Makefile.in b/c++/examples/Makefile.in index 4d797f0..c73313c 100644 --- a/c++/examples/Makefile.in +++ b/c++/examples/Makefile.in @@ -630,6 +630,7 @@ install-examples: $(EXAMPLEDIR) $(INSTALL_FILES) @for f in X $(INSTALL_FILES); do \ if test $$f != X; then \ (set -x; $(INSTALL) $(srcdir)/$$f $(EXAMPLEDIR)/. || exit 1);\ + chmod a-x $(EXAMPLEDIR)/$$f;\ fi; \ done @for f in X $(INSTALL_SCRIPT_FILES); do \ diff --git a/config/examples.am b/config/examples.am index e48141e..71bf8e5 100644 --- a/config/examples.am +++ b/config/examples.am @@ -68,6 +68,7 @@ install-examples: $(EXAMPLEDIR) $(INSTALL_FILES) @for f in X $(INSTALL_FILES); do \ if test $$f != X; then \ (set -x; $(INSTALL) $(srcdir)/$$f $(EXAMPLEDIR)/. || exit 1);\ + chmod a-x $(EXAMPLEDIR)/$$f;\ fi; \ done @for f in X $(INSTALL_SCRIPT_FILES); do \ diff --git a/configure b/configure index 98df24b..9d62b16 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Id: configure.in 19499 2010-10-01 05:43:11Z koziol . +# From configure.in Id: configure.in 19511 2010-10-05 13:28:37Z hdftest . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.67 for HDF5 1.8.7-snap1. # diff --git a/examples/Makefile.in b/examples/Makefile.in index fa667ef..a22c04c 100644 --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -662,6 +662,7 @@ install-examples: $(EXAMPLEDIR) $(INSTALL_FILES) @for f in X $(INSTALL_FILES); do \ if test $$f != X; then \ (set -x; $(INSTALL) $(srcdir)/$$f $(EXAMPLEDIR)/. || exit 1);\ + chmod a-x $(EXAMPLEDIR)/$$f;\ fi; \ done @for f in X $(INSTALL_SCRIPT_FILES); do \ diff --git a/fortran/examples/Makefile.in b/fortran/examples/Makefile.in index b102e5c..35df4a2 100644 --- a/fortran/examples/Makefile.in +++ b/fortran/examples/Makefile.in @@ -658,6 +658,7 @@ install-examples: $(EXAMPLEDIR) $(INSTALL_FILES) @for f in X $(INSTALL_FILES); do \ if test $$f != X; then \ (set -x; $(INSTALL) $(srcdir)/$$f $(EXAMPLEDIR)/. || exit 1);\ + chmod a-x $(EXAMPLEDIR)/$$f;\ fi; \ done @for f in X $(INSTALL_SCRIPT_FILES); do \ diff --git a/hl/c++/examples/Makefile.in b/hl/c++/examples/Makefile.in index 1982a5e..aa7c3db 100644 --- a/hl/c++/examples/Makefile.in +++ b/hl/c++/examples/Makefile.in @@ -615,6 +615,7 @@ install-examples: $(EXAMPLEDIR) $(INSTALL_FILES) @for f in X $(INSTALL_FILES); do \ if test $$f != X; then \ (set -x; $(INSTALL) $(srcdir)/$$f $(EXAMPLEDIR)/. || exit 1);\ + chmod a-x $(EXAMPLEDIR)/$$f;\ fi; \ done @for f in X $(INSTALL_SCRIPT_FILES); do \ diff --git a/hl/examples/Makefile.in b/hl/examples/Makefile.in index 60345e4..e2659e0 100644 --- a/hl/examples/Makefile.in +++ b/hl/examples/Makefile.in @@ -656,6 +656,7 @@ install-examples: $(EXAMPLEDIR) $(INSTALL_FILES) @for f in X $(INSTALL_FILES); do \ if test $$f != X; then \ (set -x; $(INSTALL) $(srcdir)/$$f $(EXAMPLEDIR)/. || exit 1);\ + chmod a-x $(EXAMPLEDIR)/$$f;\ fi; \ done @for f in X $(INSTALL_SCRIPT_FILES); do \ diff --git a/hl/fortran/examples/Makefile.in b/hl/fortran/examples/Makefile.in index 8ad2af4..b8713f6 100644 --- a/hl/fortran/examples/Makefile.in +++ b/hl/fortran/examples/Makefile.in @@ -617,6 +617,7 @@ install-examples: $(EXAMPLEDIR) $(INSTALL_FILES) @for f in X $(INSTALL_FILES); do \ if test $$f != X; then \ (set -x; $(INSTALL) $(srcdir)/$$f $(EXAMPLEDIR)/. || exit 1);\ + chmod a-x $(EXAMPLEDIR)/$$f;\ fi; \ done @for f in X $(INSTALL_SCRIPT_FILES); do \ -- cgit v0.12