diff options
author | Adarsh Sanjeev <adarshsanjeev@gmail.com> | 2016-01-05 00:37:04 +0500 |
---|---|---|
committer | Adarsh Sanjeev <adarshsanjeev@gmail.com> | 2016-01-05 00:37:04 +0500 |
commit | 3edad5e0d4384e614ba712377dd3a60e1f2d8ea0 (patch) | |
tree | 7e2b9aedb467666b37341c69b64c2f9cab354a84 /doc/man | |
parent | 0bba5db9409ded9ff03504cf3800f5c2ccb3529b (diff) | |
download | scons-3edad5e0d4384e614ba712377dd3a60e1f2d8ea0.tar.gz |
Updated documentation
Diffstat (limited to 'doc/man')
-rw-r--r-- | doc/man/scons.xml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/doc/man/scons.xml b/doc/man/scons.xml index 5c832c2a..c72178e4 100644 --- a/doc/man/scons.xml +++ b/doc/man/scons.xml @@ -5630,7 +5630,8 @@ env.Command('foo.out', 'foo.in', changes the permissions on the specified <emphasis>dest</emphasis> file or directory to the specified -<emphasis>mode</emphasis>. +<emphasis>mode</emphasis> +which can be octal or string, similar to the bash command. Examples:</para> <literallayout class="monospaced"> @@ -5639,6 +5640,12 @@ Execute(Chmod('file', 0755)) env.Command('foo.out', 'foo.in', [Copy('$TARGET', '$SOURCE'), Chmod('$TARGET', 0755)]) + +Execute(Chmod('file', "ugo+w")) + +env.Command('foo.out', 'foo.in', + [Copy('$TARGET', '$SOURCE'), + Chmod('$TARGET', "ugo+w")]) </literallayout> </listitem> |