summaryrefslogtreecommitdiffstats
path: root/config/examples.am
diff options
context:
space:
mode:
authorLarry Knox <lrknox@hdfgroup.org>2010-10-07 14:42:52 (GMT)
committerLarry Knox <lrknox@hdfgroup.org>2010-10-07 14:42:52 (GMT)
commitd1a1a1ff17d2678dff138dec506869fd937e7594 (patch)
tree202f75b7c7da0175557b8afddb1019b6864e9de5 /config/examples.am
parent1f2c4afe7739e6464eeaae64e7abcb5bd589f9e3 (diff)
downloadhdf5-d1a1a1ff17d2678dff138dec506869fd937e7594.zip
hdf5-d1a1a1ff17d2678dff138dec506869fd937e7594.tar.gz
hdf5-d1a1a1ff17d2678dff138dec506869fd937e7594.tar.bz2
[svn-r19532] Added line to config/examples.am to remove execute permission from example source files tha
t are installed in .../share/hdf5_examples/. This will address bugzilla #2025. Tested with h5committest on amani, heiwa, and jam.
Diffstat (limited to 'config/examples.am')
-rw-r--r--config/examples.am3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/examples.am b/config/examples.am
index 30ea717..244e695 100644
--- a/config/examples.am
+++ b/config/examples.am
@@ -67,7 +67,8 @@ uninstall-local:
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);\
+ (set -x; $(INSTALL) $(srcdir)/$$f $(EXAMPLEDIR)/. || exit 1); \
+ chmod a-x $(EXAMPLEDIR)/$$f; \
fi; \
done
@for f in X $(INSTALL_SCRIPT_FILES); do \