Skip to content

Commit

Permalink
Fix quotes
Browse files Browse the repository at this point in the history
  • Loading branch information
fwcd committed Nov 19, 2023
1 parent da7088c commit 5e268c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install-ubuntu-deps
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ if [[ -n "$host" && -n "$target" && "$host" != "$target" ]]; then
echo "==> Adding target mirror to APT sources..."
ubuntu_version="$(cat /etc/os-release | grep VERSION_CODENAME | cut -d '=' -f 2-)"
sudo sed -i "s/deb \([a-z]\)/deb [arch=$host_deb_arch] \1/" /etc/apt/sources.list
sudo bash -c "{ for repo_suffix in '' '-updates'; do echo 'deb [arch=$target_deb_arch] $target_mirror $ubuntu_version\$repo_suffix main multiverse universe'; done; cat /etc/apt/sources.list; } > /etc/apt/sources.list.new"
sudo bash -c "{ for repo_suffix in '' '-updates'; do echo \"deb [arch=$target_deb_arch] $target_mirror $ubuntu_version\$repo_suffix main multiverse universe\"; done; cat /etc/apt/sources.list; } > /etc/apt/sources.list.new"
sudo mv /etc/apt/sources.list{.new,}
cat /etc/apt/sources.list

Expand Down

0 comments on commit 5e268c1

Please sign in to comment.