summaryrefslogtreecommitdiff
path: root/cpp/makedist.py
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-01-13 15:36:02 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-01-13 15:36:02 +0000
commit43167c09e046842e035907ba820385fcc4d646b0 (patch)
treec1ef3da14470cb322f60d199c631db7518219433 /cpp/makedist.py
parentMinor fix (diff)
downloadice-43167c09e046842e035907ba820385fcc4d646b0.tar.bz2
ice-43167c09e046842e035907ba820385fcc4d646b0.tar.xz
ice-43167c09e046842e035907ba820385fcc4d646b0.zip
Changes to fix permissions in the source tree
Diffstat (limited to 'cpp/makedist.py')
-rwxr-xr-xcpp/makedist.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/cpp/makedist.py b/cpp/makedist.py
index 48f893e056e..27c38bc541d 100755
--- a/cpp/makedist.py
+++ b/cpp/makedist.py
@@ -379,8 +379,13 @@ if verbose:
quiet = "v"
else:
quiet = ""
-os.system("chmod -R u+rw,go+r . " + icever)
+os.system("chmod -R u+rw,go+r-w . " + icever)
+os.system("find " + icever + " \\( -name \"*.h\" -or -name \"*.cpp\" -or -name \"*.ice\" \\) -exec chmod a-x {} \\;")
+os.system("find " + icever + " \\( -name \"README*\" -or -name \"INSTALL*\" \\) -exec chmod a-x {} \\;")
+os.system("find " + icever + " \\( -name \"*.xml\" -or -name \"*.mc\" \\) -exec chmod a-x {} \\;")
+os.system("find " + icever + " \\( -name \"Makefile\" -or -name \"*.dsp\" \\) -exec chmod a-x {} \\;")
os.system("find " + icever + " -type d -exec chmod a+x {} \\;")
+os.system("find " + icever + " -perm +111 -exec chmod a+x {} \\;")
os.system("tar c" + quiet + "f " + icever + ".tar " + icever)
os.system("gzip -9 " + icever + ".tar")
if verbose: