Skip to content

Commit

Permalink
Fix escaping
Browse files Browse the repository at this point in the history
Escape the values correctly.
  • Loading branch information
martincostello authored Dec 18, 2024
1 parent 73c34e2 commit ee4927d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ jobs:
codename=$(lsb_release -c | awk '{print $2}')
sudo dpkg --add-architecture arm64
sudo bash -c "cat > /etc/apt/sources.list.d/arm64.list <<EOF
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ '${codename}' main restricted
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ '${codename}'-updates main restricted
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ '${codename}-backports' main restricted universe multiverse
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ \"${codename}\" main restricted
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ \"${codename}-updates\" main restricted
deb [arch=arm64] http://ports.ubuntu.com/ubuntu-ports/ \"${codename}-backports\" main restricted universe multiverse
EOF"
sudo sed -i -e 's/deb http/deb [arch=amd64] http/g' /etc/apt/sources.list
sudo sed -i -e 's/deb mirror/deb [arch=amd64] mirror/g' /etc/apt/sources.list
Expand Down

0 comments on commit ee4927d

Please sign in to comment.