Skip to content

Commit 951bb25

Browse files
committed
some shellcheck fixes
1 parent 71e7115 commit 951bb25

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Samples/SwiftAndJavaJarSampleLib/ci-validate.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -x
55

66
./gradlew jar
77

8-
export SWIFT_VERSION="$(swift -version | awk '/Swift version/ { print $3 }')"
8+
SWIFT_VERSION="$(swift -version | awk '/Swift version/ { print $3 }')"
99

1010
# we make sure to build and run with JDK 24 because the runtime needs latest JDK, unlike Gradle which needed 21.
1111
if [ "$(uname -s)" = 'Darwin' ]

docker/install_swiftly.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ echo "Install Swiftly and toolchain for: $(uname -m)"
1818

1919
apt-get install -y curl
2020

21-
curl -O https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz
22-
tar zxf swiftly-$(uname -m).tar.gz
21+
curl -O "https://download.swift.org/swiftly/linux/swiftly-$(uname -m).tar.gz"
22+
tar zxf "swiftly-$(uname -m).tar.gz"
2323
./swiftly init --assume-yes
2424
. "${SWIFTLY_HOME_DIR:-$HOME/.local/share/swiftly}/env.sh"
2525
hash -r

0 commit comments

Comments
 (0)