Skip to content

Commit e968053

Browse files
committed
fix shellcheck with swiftly
1 parent 5f33a61 commit e968053

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker/install_swiftly.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ apt-get install -y curl
2121
curl -O "https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz"
2222
tar zxf "swiftly-$(uname -m).tar.gz"
2323
./swiftly init --assume-yes
24-
. "${SWIFTLY_HOME_DIR:-$HOME/.local/share/swiftly}/env.sh"
24+
disable=SC1091 # we're ok to not validate the swiftly script
25+
. "${SWIFTLY_HOME_DIR:-$HOME/.local/share/swiftly}/env.sh" && \
2526
hash -r
2627

2728
swiftly install 6.1.2 --assume-yes --use

0 commit comments

Comments
 (0)