[syrthes/master] Fix files' permissions on install
Gilles Filippini
gilles.filippini at free.fr
Fri Sep 18 21:33:23 UTC 2009
---
debian/rules | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/debian/rules b/debian/rules
index f79c50e..26f4398 100755
--- a/debian/rules
+++ b/debian/rules
@@ -62,8 +62,9 @@ install: build
for dir in bin bin/Linux data example/cylinder example/cylinder/MESH \
example/cylinder/RESU example/cylinder/usr include lib/Linux \
usr; do \
- find $$dir -maxdepth 1 -type f -exec install "{}" $(INSTALL_DIR)/$(SYRTHES_HOME)/$$dir \; ; \
+ find $$dir -maxdepth 1 -type f -exec install -m a-x "{}" $(INSTALL_DIR)/$(SYRTHES_HOME)/$$dir \; ; \
done
+ cd $(INSTALL_DIR)/$(SYRTHES_HOME)/bin && chmod a+x syrthes_create_case Linux/syrthes2ensight
sed -i "s!@SYRTHES_HOME@!/$(SYRTHES_HOME)!g" $(INSTALL_DIR)/$(SYRTHES_HOME)/bin/syrthes_create_case
sed -i "s!@SYRTHES_HOME@!/$(SYRTHES_HOME)!g" $(INSTALL_DIR)/$(SYRTHES_HOME)/bin/Makefile
rm -f $(INSTALL_DIR)/$(SYRTHES_HOME)/bin/syrthes.profile
--
1.5.6.5
More information about the debian-science-commits
mailing list