Skip to content

Commit 2cdb3ce

Browse files
committed
fix ci
1 parent 9fe518a commit 2cdb3ce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/ubuntu-install-swift.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,11 @@ sudo curl -fsSL https://download.docker.com/linux/ubuntu/gpg -o /etc/apt/keyring
5252
sudo chmod a+r /etc/apt/keyrings/docker.asc
5353

5454
# Add the repository to Apt sources:
55+
# shellcheck source=/etc/os-release
56+
. /etc/os-release
5557
echo \
5658
"deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu \
57-
$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | \
59+
"$VERSION_CODENAME" stable" | \
5860
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
5961
sudo apt-get update
6062

0 commit comments

Comments
 (0)