multiple-output.sh: fix moveToOutput comment
The comment suggested that "{foo,bar}" is a supported pattern, which is not true. "{foo,bar}" is only understood by brace expansion but the code performs only globbing. We replace the comment with "[abc]", which is a correct example of globbing.
This commit is contained in:
parent
4a01ca36d6
commit
ae45c235fa
|
@ -88,7 +88,7 @@ NIX_NO_SELF_RPATH=1
|
|||
|
||||
|
||||
# Move subpaths that match pattern $1 from under any output/ to the $2 output/
|
||||
# Beware: only globbing patterns are accepted, e.g.: * ? {foo,bar}
|
||||
# Beware: only globbing patterns are accepted, e.g.: * ? [abc]
|
||||
# A special target "REMOVE" is allowed: moveToOutput foo REMOVE
|
||||
moveToOutput() {
|
||||
local patt="$1"
|
||||
|
|
Loading…
Reference in a new issue