Skip to content

Commit 8d7d101

Browse files
ssiwek-dxcmarc0der
authored andcommitted
fix for bash-4 (#923)
bash-4 does not support process substitution. Another occurence.
1 parent 3d6c27e commit 8d7d101

File tree

1 file changed

+2
-1
lines changed
  • contrib/completion/bash

1 file changed

+2
-1
lines changed

contrib/completion/bash/sdk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,10 @@ __sdkman_complete_candidate_version() {
7272
done
7373
;;
7474
install)
75+
curl --silent "${SDKMAN_CANDIDATES_API}/candidates/$candidate/${SDKMAN_PLATFORM}/versions/all" | \
7576
while IFS= read -d, -r version; do
7677
candidates+=($version)
77-
done < <(curl --silent "${SDKMAN_CANDIDATES_API}/candidates/$candidate/${SDKMAN_PLATFORM}/versions/all")
78+
done
7879
;;
7980
esac
8081

0 commit comments

Comments
 (0)