Skip to content

Commit

Permalink
That chdir needs to happen after the directory exists
Browse files Browse the repository at this point in the history
  • Loading branch information
obra committed Dec 15, 2023
1 parent 81980a7 commit e6a0d44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/build-arduino-package
Original file line number Diff line number Diff line change
Expand Up @@ -131,11 +131,11 @@ if ($only_latest_platform) {

foreach my $arch (@ARCHES) {

chdir("$working_dir/$checkout_dir/$arch/libraries/Kaleidoscope");

# Get the specified Kaleidoscope build and all its plugins as libraries
# into the checkout
checkout_kaleidoscope($kaleidoscope_tag, "$working_dir/$checkout_dir/$arch/libraries/Kaleidoscope");
chdir("$working_dir/$checkout_dir/$arch/libraries/Kaleidoscope");
remove_unneeded_files($arch);
lift_plugins_to_arduino_libs();
set_plugin_versions( $working_dir, $checkout_dir, $arch, $version );
Expand Down

0 comments on commit e6a0d44

Please sign in to comment.