File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -393,7 +393,7 @@ function install_ide_version()
393
393
local IDEversion=" $1 "
394
394
395
395
# Create a symbolic link so that the Arduino IDE can always be referenced from the same path no matter which version is being used.
396
- ln -sf " ${ARDUINO_CI_SCRIPT_APPLICATION_FOLDER} /arduino-${IDEversion} " " ${ARDUINO_CI_SCRIPT_APPLICATION_FOLDER} /${ARDUINO_CI_SCRIPT_IDE_INSTALLATION_FOLDER} "
396
+ ln --symbolic --force " ${ARDUINO_CI_SCRIPT_APPLICATION_FOLDER} /arduino-${IDEversion} " " ${ARDUINO_CI_SCRIPT_APPLICATION_FOLDER} /${ARDUINO_CI_SCRIPT_IDE_INSTALLATION_FOLDER} "
397
397
398
398
disable_verbosity
399
399
}
@@ -425,7 +425,7 @@ function install_package()
425
425
cd " $ARDUINO_CI_SCRIPT_TEMPORARY_FOLDER "
426
426
427
427
# Clean up the temporary folder
428
- rm -f ./* .*
428
+ rm --force ./* .*
429
429
430
430
# Download the package
431
431
wget " $packageURL "
@@ -437,7 +437,7 @@ function install_package()
437
437
extract ./* .*
438
438
439
439
# Clean up the temporary folder
440
- rm -f ./* .*
440
+ rm --force ./* .*
441
441
442
442
# Install the package
443
443
mv ./* " ${ARDUINO_CI_SCRIPT_SKETCHBOOK_FOLDER} /hardware/"
@@ -518,15 +518,15 @@ function install_library()
518
518
# Download the file to the temporary folder
519
519
cd " $ARDUINO_CI_SCRIPT_TEMPORARY_FOLDER "
520
520
# Clean up the temporary folder
521
- rm -f ./* .*
521
+ rm --force ./* .*
522
522
wget " $libraryIdentifier "
523
523
524
524
# This script handles any compressed file type
525
525
# shellcheck source=/dev/null
526
526
source " ${ARDUINO_CI_SCRIPT_FOLDER} /extract.sh"
527
527
extract ./* .*
528
528
# Clean up the temporary folder
529
- rm -f ./* .*
529
+ rm --force ./* .*
530
530
# Install the library
531
531
mv ./* " ${ARDUINO_CI_SCRIPT_SKETCHBOOK_FOLDER} /libraries/${newFolderName} "
532
532
fi
You can’t perform that action at this time.
0 commit comments