diff options
author | Michal Sojka <michal.sojka@cvut.cz> | 2022-07-17 23:44:52 +0200 |
---|---|---|
committer | Michal Sojka <michal.sojka@cvut.cz> | 2022-07-19 08:23:35 +0200 |
commit | ae45c235fae586c6da092e3e0d56c52be1b183b3 (patch) | |
tree | 12a26f69eab821d097d498aada65e0adbe547333 | |
parent | 4a01ca36d6bfc133bc617e661916a81327c9bbc8 (diff) |
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.
-rw-r--r-- | pkgs/build-support/setup-hooks/multiple-outputs.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/build-support/setup-hooks/multiple-outputs.sh b/pkgs/build-support/setup-hooks/multiple-outputs.sh index bfa47e3b20e17..881cf6c90f483 100644 --- a/pkgs/build-support/setup-hooks/multiple-outputs.sh +++ b/pkgs/build-support/setup-hooks/multiple-outputs.sh @@ -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" |