diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-01-13 15:36:02 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-01-13 15:36:02 +0000 |
commit | 43167c09e046842e035907ba820385fcc4d646b0 (patch) | |
tree | c1ef3da14470cb322f60d199c631db7518219433 /cpp/makedist.py | |
parent | Minor fix (diff) | |
download | ice-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-x | cpp/makedist.py | 7 |
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: |