From 580c890bd9796dd344056f97134997fe02e9d1aa Mon Sep 17 00:00:00 2001 From: Michael Vasseur <14887731+vmcj@users.noreply.github.com> Date: Sat, 14 Dec 2024 15:12:45 +0100 Subject: [PATCH] Should we actually do this change --- sql/files/defaultdata/swift/run | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sql/files/defaultdata/swift/run b/sql/files/defaultdata/swift/run index 2f3f536f5a..fbc34049b4 100755 --- a/sql/files/defaultdata/swift/run +++ b/sql/files/defaultdata/swift/run @@ -23,7 +23,7 @@ while [ $# -gt 0 ]; do if [ "x${1%.swift}" != "x$1" ]; then SOURCE="$1" [ -z "$MAINSOURCE" ] && MAINSOURCE="$1" - if [ "x$SOURCE" = "x$MAINSOURCE" ] && [ "x$MAINSOURCE" != "xmain.swift" ]; then + if [ "$SOURCE" = "$MAINSOURCE" ] && [ "$MAINSOURCE" != "main.swift" ]; then if [ -f "main.swift" ]; then echo "main.swift exists but is not the main source; not allowed by Swift compiler" exit 1