fix: add cat to circumvent printf's broken pipe on bash3

This commit is contained in:
Augusto Moura 2022-06-08 13:56:36 -03:00
parent b2d06a768d
commit d62b66ae18
No known key found for this signature in database
GPG Key ID: 67F85AF470AE27DA

View File

@ -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() {