@@ -553,7 +553,7 @@ function install_package() {
553
553
# grep returns 1 when a line matches the regular expression so it's necessary to unset errexit
554
554
set +o errexit
555
555
# shellcheck disable=SC2086
556
- eval \" ${ARDUINO_CI_SCRIPT_APPLICATION_FOLDER} /${ARDUINO_CI_SCRIPT_IDE_INSTALLATION_FOLDER} /${ARDUINO_CI_SCRIPT_ARDUINO_COMMAND} \" --pref boardsmanager.additional.urls=" $boardsmanagerAdditionalURLs " --save-prefs " $ARDUINO_CI_SCRIPT_VERBOSITY_REDIRECT " | tr -Cd '[:print:]\n\t' | tr --squeeze-repeats '\n' | grep --extended-regexp --invert-match " $ARDUINO_CI_SCRIPT_ARDUINO_OUTPUT_FILTER_REGEX "
556
+ eval \" ${ARDUINO_CI_SCRIPT_APPLICATION_FOLDER} /${ARDUINO_CI_SCRIPT_IDE_INSTALLATION_FOLDER} /${ARDUINO_CI_SCRIPT_ARDUINO_COMMAND} \" --pref boardsmanager.additional.urls=" $boardsmanagerAdditionalURLs " --save-prefs " $ARDUINO_CI_SCRIPT_VERBOSITY_REDIRECT " | tr --complement --delete '[:print:]\n\t' | tr --squeeze-repeats '\n' | grep --extended-regexp --invert-match " $ARDUINO_CI_SCRIPT_ARDUINO_OUTPUT_FILTER_REGEX "
557
557
local -r arduinoPreferenceSettingExitStatus=" ${PIPESTATUS[0]} "
558
558
set -o errexit
559
559
# this is required because otherwise the exit status of arduino is ignored
@@ -566,7 +566,7 @@ function install_package() {
566
566
# grep returns 1 when a line matches the regular expression so it's necessary to unset errexit
567
567
set +o errexit
568
568
# shellcheck disable=SC2086
569
- eval \" ${ARDUINO_CI_SCRIPT_APPLICATION_FOLDER} /${ARDUINO_CI_SCRIPT_IDE_INSTALLATION_FOLDER} /${ARDUINO_CI_SCRIPT_ARDUINO_COMMAND} \" --install-boards " $packageID " " $ARDUINO_CI_SCRIPT_VERBOSITY_REDIRECT " | tr -Cd '[:print:]\n\t' | tr --squeeze-repeats '\n' | grep --extended-regexp --invert-match " $ARDUINO_CI_SCRIPT_ARDUINO_OUTPUT_FILTER_REGEX "
569
+ eval \" ${ARDUINO_CI_SCRIPT_APPLICATION_FOLDER} /${ARDUINO_CI_SCRIPT_IDE_INSTALLATION_FOLDER} /${ARDUINO_CI_SCRIPT_ARDUINO_COMMAND} \" --install-boards " $packageID " " $ARDUINO_CI_SCRIPT_VERBOSITY_REDIRECT " | tr --complement --delete '[:print:]\n\t' | tr --squeeze-repeats '\n' | grep --extended-regexp --invert-match " $ARDUINO_CI_SCRIPT_ARDUINO_OUTPUT_FILTER_REGEX "
570
570
local -r arduinoInstallPackageExitStatus=" ${PIPESTATUS[0]} "
571
571
set -o errexit
572
572
# this is required because otherwise the exit status of arduino is ignored
@@ -862,7 +862,7 @@ function build_this_sketch() {
862
862
while [[ $arduinoExitStatus -gt $ARDUINO_CI_SCRIPT_HIGHEST_ACCEPTABLE_ARDUINO_EXIT_STATUS && $verifyCount -le $ARDUINO_CI_SCRIPT_SKETCH_VERIFY_RETRIES ]]; do
863
863
# Verify the sketch
864
864
# shellcheck disable=SC2086
865
- "${ARDUINO_CI_SCRIPT_APPLICATION_FOLDER}/${ARDUINO_CI_SCRIPT_IDE_INSTALLATION_FOLDER}/${ARDUINO_CI_SCRIPT_ARDUINO_COMMAND}" $ARDUINO_CI_SCRIPT_DETERMINED_VERBOSE_BUILD --verify "$absoluteSketchName" --board "$boardID" 2>&1 | tr -Cd ' [:print:]\n\t ' | tr --squeeze-repeats ' \n ' | grep --extended-regexp --invert-match "$ARDUINO_CI_SCRIPT_ARDUINO_OUTPUT_FILTER_REGEX" | tee "$ARDUINO_CI_SCRIPT_VERIFICATION_OUTPUT_FILENAME"
865
+ "${ARDUINO_CI_SCRIPT_APPLICATION_FOLDER}/${ARDUINO_CI_SCRIPT_IDE_INSTALLATION_FOLDER}/${ARDUINO_CI_SCRIPT_ARDUINO_COMMAND}" $ARDUINO_CI_SCRIPT_DETERMINED_VERBOSE_BUILD --verify "$absoluteSketchName" --board "$boardID" 2>&1 | tr --complement --delete ' [:print:]\n\t ' | tr --squeeze-repeats ' \n ' | grep --extended-regexp --invert-match "$ARDUINO_CI_SCRIPT_ARDUINO_OUTPUT_FILTER_REGEX" | tee "$ARDUINO_CI_SCRIPT_VERIFICATION_OUTPUT_FILENAME"
866
866
local arduinoExitStatus="${PIPESTATUS[0]}"
867
867
local verifyCount=$((verifyCount + 1))
868
868
done
0 commit comments