protect
protect
disables fetch
(3)
for all files and packages matching any of the glob
patterns.
This comes in handy when you are working on files fetched by a product configuration script and want to protect the files and packages you are working on from being merged with new upstream versions when doing an update of the entire product.
Glob patterns must be escaped so that they are not expanded by the
shell before the call to protect
.
To protect a file or package from fetch, protect
must be called with a pattern that matches
the file or package before the file or package is supposed to be
fetched by the script.