Skip to content

Commit 68dca53

Browse files
committed
Use long option names
These make the code more self-documenting.
1 parent f4e059b commit 68dca53

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

arduino-ci-script.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -393,7 +393,7 @@ function install_ide_version()
393393
local IDEversion="$1"
394394

395395
# 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}"
397397

398398
disable_verbosity
399399
}
@@ -425,7 +425,7 @@ function install_package()
425425
cd "$ARDUINO_CI_SCRIPT_TEMPORARY_FOLDER"
426426

427427
# Clean up the temporary folder
428-
rm -f ./*.*
428+
rm --force ./*.*
429429

430430
# Download the package
431431
wget "$packageURL"
@@ -437,7 +437,7 @@ function install_package()
437437
extract ./*.*
438438

439439
# Clean up the temporary folder
440-
rm -f ./*.*
440+
rm --force ./*.*
441441

442442
# Install the package
443443
mv ./* "${ARDUINO_CI_SCRIPT_SKETCHBOOK_FOLDER}/hardware/"
@@ -518,15 +518,15 @@ function install_library()
518518
# Download the file to the temporary folder
519519
cd "$ARDUINO_CI_SCRIPT_TEMPORARY_FOLDER"
520520
# Clean up the temporary folder
521-
rm -f ./*.*
521+
rm --force ./*.*
522522
wget "$libraryIdentifier"
523523

524524
# This script handles any compressed file type
525525
# shellcheck source=/dev/null
526526
source "${ARDUINO_CI_SCRIPT_FOLDER}/extract.sh"
527527
extract ./*.*
528528
# Clean up the temporary folder
529-
rm -f ./*.*
529+
rm --force ./*.*
530530
# Install the library
531531
mv ./* "${ARDUINO_CI_SCRIPT_SKETCHBOOK_FOLDER}/libraries/${newFolderName}"
532532
fi

0 commit comments

Comments
 (0)