mirror of
https://github.com/asdf-vm/asdf-nodejs.git
synced 2024-10-05 23:32:09 +08:00
fix: add cat to circumvent printf's broken pipe on bash3
This commit is contained in:
parent
b2d06a768d
commit
d62b66ae18
@ -106,7 +106,9 @@ print_index_tab(){
|
||||
printf "%s\n" "$index" > "$index_file"
|
||||
fi
|
||||
|
||||
filter_version_candidates < "$index_file"
|
||||
# The `cat` indirection is for a bash3 printf broken pipe error
|
||||
# https://github.com/asdf-vm/asdf-nodejs/issues/300
|
||||
cat <(filter_version_candidates < "$index_file")
|
||||
}
|
||||
|
||||
nodebuild_wrapped() {
|
||||
|
Loading…
Reference in New Issue
Block a user