Skip to content

Commit 57bcd03

Browse files
committed
check_code_formatting: create application folder if it doesn't exist
1 parent 9c5a7aa commit 57bcd03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arduino-ci-script.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2457,7 +2457,7 @@ function check_code_formatting() {
24572457
# Install astyle
24582458
# Save the current folder
24592459
local -r previousFolder="$PWD"
2460-
mkdir "${ARDUINO_CI_SCRIPT_APPLICATION_FOLDER}/astyle"
2460+
mkdir --parents "${ARDUINO_CI_SCRIPT_APPLICATION_FOLDER}/astyle"
24612461
wget --no-verbose $ARDUINO_CI_SCRIPT_QUIET_OPTION --output-document="${ARDUINO_CI_SCRIPT_TEMPORARY_FOLDER}/astyle.tar.gz" "https://iweb.dl.sourceforge.net/project/astyle/astyle/astyle%203.1/astyle_3.1_linux.tar.gz"
24622462
tar --extract --file="${ARDUINO_CI_SCRIPT_TEMPORARY_FOLDER}/astyle.tar.gz" --directory="${ARDUINO_CI_SCRIPT_APPLICATION_FOLDER}"
24632463
cd "${ARDUINO_CI_SCRIPT_APPLICATION_FOLDER}/astyle/build/gcc"

0 commit comments

Comments
 (0)