Chromium Code Reviews| Index: enterprise_helper_linux.py |
| =================================================================== |
| --- enterprise_helper_linux.py (revision 93072) |
| +++ enterprise_helper_linux.py (working copy) |
| @@ -14,6 +14,8 @@ |
| assert os.geteuid() == 0, 'Need superuser privileges' |
| if sys.argv[1] == 'copy': |
| shutil.copy(sys.argv[2], sys.argv[3]) |
| + filename = sys.argv[3] + '/chrome.json' |
|
Nirnimesh
2011/07/19 19:27:41
use os.path.join()
aocampo
2011/07/19 20:20:58
Done.
|
| + os.chmod(filename, 0755) |
|
Nirnimesh
2011/07/19 19:27:41
Have you verified on the bot that this is enough?
aocampo
2011/07/19 20:20:58
Yes.
|
| elif sys.argv[1] == 'setup_dir': |
| os.system('mkdir -p %s' % sys.argv[2]) |
| elif sys.argv[1] == 'remove_dir': |