Skip to content
This repository was archived by the owner on Jan 25, 2023. It is now read-only.

Commit 4d250b3

Browse files
committed
Lint
1 parent 483cc50 commit 4d250b3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

run-build-functions.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,8 +426,9 @@ install_dependencies() {
426426

427427
# swiftenv expects the following environment variables to refer to
428428
# swiftenv internals
429-
if [ -f .swift-version -o -f Package.swift ]
430-
if PLATFORM= URL= VERSION= swiftenv install -s $SWIFT_VERSION
429+
if [ -f .swift-version ] || [ -f Package.swift ]
430+
then
431+
if PLATFORM='' URL='' VERSION='' swiftenv install -s $SWIFT_VERSION
431432
then
432433
echo "Using Swift version $SWIFT_VERSION"
433434
else

0 commit comments

Comments
 (0)