We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 99cb3d1 commit 4c0b007Copy full SHA for 4c0b007
1 file changed
tools/pkglist.sh
@@ -236,12 +236,10 @@ else
236
msg_debug "No packages are excluded."
237
fi
238
239
-OLD_IFS="${IFS}"
240
-if [[ "${line}" = true ]]; then
241
- IFS=$'\n'
242
-fi
243
-
244
wait
245
246
-echo "${_pkglist[*]}" >&1
247
-IFS="${OLD_IFS}"
+if [[ "${line}" = true ]]; then
+ printf "%s\n" "${_pkglist[@]}"
+else
+ echo "${_pkglist[*]}" >&1
+fi
0 commit comments