Change 7386
Sam Stafford
committed this change
into
//guest/sam_stafford/scripts
Request Review
Download .zip
Add $dirs variable to protexp.pl trigger.
This is to reduce multiple
wildcard usage in protections tables; a line like:
write group * //depot/*/bin/...
can be rewritten as:
write group * $dirs(//depot/*)/bin/...
and expanded by the trigger to:
write group * //depot/A/bin/...
write group * //depot/B/bin/...
write group * //depot/C/bin/...
Files
1
Comments
0
1
edited
0
added
0
deleted
•
protexp.pl#4
Loading...
Tip: Use
n
and
p
to cycle through the changes.