Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripts/mirror-k8s-repos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ get_all_tgzs() {
pushd mirror/
for tgz in $tgzs; do
if [ ! -f "${tgz##*/}" ]; then
wget $tgz
wget $repo_url/$tgz
Copy link

Copilot AI Jul 18, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The variable concatenation should be properly quoted to handle URLs or filenames with spaces or special characters. Consider using "$repo_url/$tgz" instead of $repo_url/$tgz.

Suggested change
wget $repo_url/$tgz
wget "$repo_url/$tgz"

Copilot uses AI. Check for mistakes.
fi
done
popd
Expand Down