diff --git a/lib/functions/buildFileList.sh b/lib/functions/buildFileList.sh index b8fcbd0b..bab2f533 100755 --- a/lib/functions/buildFileList.sh +++ b/lib/functions/buildFileList.sh @@ -41,7 +41,7 @@ function GenerateFileDiff() { ################################################### # Map command output to an array to proper handle # ################################################### - mapfile -t RAW_FILE_ARRAY < <(echo "$DIFF_TREE_CMD_OUTPUT") + mapfile -t RAW_FILE_ARRAY < <(echo -n "$CMD_OUTPUT") debug "RAW_FILE_ARRAY contents: ${RAW_FILE_ARRAY[*]}" }