Skip to content

Commit

Permalink
Fix adding extension libraries on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
shivammathur committed Jun 16, 2024
1 parent 957d7b1 commit 652f74a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/scripts/darwin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,13 @@ setup_libraries() {
sudo cp -a "$tap_dir"/"$ext_tap"/.github/deps/"$extension"/*.rb "$tap_dir"/"$core_tap"/Formula/ 2>/dev/null || true
sudo mkdir -p "$ext_deps_dir"
echo "::group::Logs to set up libraries required for $extension"
for lib in "${libraries_array[@]}"; do
if ! [ -e "$ext_deps_dir"/list ]; then
if ! [ -e "$ext_deps_dir"/list ]; then
for lib in "${libraries_array[@]}"; do
add_library "$lib" "$ext_deps_dir"
else
restore_library "$ext_deps_dir"
fi
done
done
else
restore_library "$ext_deps_dir"
fi
echo "::endgroup::"
add_log "$tick" "${libraries_array[@]}"
}
Expand Down

0 comments on commit 652f74a

Please sign in to comment.