Skip to content

Commit 985c4e5

Browse files
committed
Fix bug in install_library when cloning, branch not specified, folder specified
Under these conditions the folder was not renamed.
1 parent 06889da commit 985c4e5

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
@@ -502,7 +502,7 @@ function install_library()
502502
if [[ "$branchName" == "" && "$newFolderName" == "" ]]; then
503503
git clone --quiet "$libraryIdentifier"
504504
elif [[ "$branchName" == "" ]]; then
505-
git clone --quiet "$libraryIdentifier"
505+
git clone --quiet "$libraryIdentifier" "$newFolderName"
506506
elif [[ "$newFolderName" == "" ]]; then
507507
git clone --quiet --branch "$branchName" "$libraryIdentifier"
508508
else

0 commit comments

Comments
 (0)