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:
@@ -88,7 +88,7 @@ NIX_NO_SELF_RPATH=1
|
|||||||
|
|
||||||
|
|
||||||
# Move subpaths that match pattern $1 from under any output/ to the $2 output/
|
# 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
|
# A special target "REMOVE" is allowed: moveToOutput foo REMOVE
|
||||||
moveToOutput() {
|
moveToOutput() {
|
||||||
local patt="$1"
|
local patt="$1"
|
||||||
|
|||||||
Reference in New Issue
Block a user