2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-24 15:38:25 +00:00

fix fix-file-perms

This commit is contained in:
Pratik Vyas 2015-02-11 12:30:59 +05:30
parent f09efcb0ae
commit 3cff486034

View File

@ -363,3 +363,8 @@ def fix_file_perms():
os.chmod(os.path.join(dir_path, _dir), 0755)
for _file in files:
os.chmod(os.path.join(dir_path, _file), 0644)
bin_dir = './env/bin'
if os.path.exists(bin_dir):
for _file in os.listdir(bin_dir):
if not _file.startswith('activate'):
os.chmod(os.path.join(bin_dir, _file), 0755)