Skip to content

Commit 580c890

Browse files
committed
Should we actually do this change
1 parent 01b04a4 commit 580c890

File tree

1 file changed

+1
-1
lines changed
  • sql/files/defaultdata/swift

1 file changed

+1
-1
lines changed

sql/files/defaultdata/swift/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ while [ $# -gt 0 ]; do
2323
if [ "x${1%.swift}" != "x$1" ]; then
2424
SOURCE="$1"
2525
[ -z "$MAINSOURCE" ] && MAINSOURCE="$1"
26-
if [ "x$SOURCE" = "x$MAINSOURCE" ] && [ "x$MAINSOURCE" != "xmain.swift" ]; then
26+
if [ "$SOURCE" = "$MAINSOURCE" ] && [ "$MAINSOURCE" != "main.swift" ]; then
2727
if [ -f "main.swift" ]; then
2828
echo "main.swift exists but is not the main source; not allowed by Swift compiler"
2929
exit 1

0 commit comments

Comments
 (0)