diff options
| author | Michael Forney <mforney@mforney.org> | 2016-06-18 16:09:43 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2016-06-18 16:09:43 -0700 |
| commit | e01e004a95dcc60f5cb496d4f016affc9d3d72b8 (patch) | |
| tree | 509968d711b3fdc6ce7a0d29048636aaff262b33 /setup.rc | |
| parent | 03122929d1b2eae16acae8f43b657b74eadc5314 (diff) | |
Produce sorted .perms
Diffstat (limited to 'setup.rc')
| -rwxr-xr-x | setup.rc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -49,11 +49,11 @@ fn gen { phony ninja '$dir/local.ninja' $gen_inputs if(! ~ $#tree_perms 0) { - printf '%s\n' $tree_perms >$absdir/local.perms + printf '%s\n' $tree_perms | sort >$absdir/local.perms perms_inputs=($perms_inputs '$dir'/local.perms) } if(~ $#perms_inputs 0) build '$outdir/root.perms' empty - if not build '$outdir/root.perms' cat $perms_inputs + if not build '$outdir/root.perms' mergeperms $perms_inputs if(~ $#tree_inputs 0) build '$outdir/root.tree' empty if not build '$outdir/root.tree' cat $tree_inputs } >local.ninja.tmp |
