Skip to content

Commit a5cb3c9

Browse files
edenhillmhowlett
authored andcommitted
Fix Makefile targets (#775)
1 parent 184970a commit a5cb3c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ all:
2020

2121
build:
2222
# Assuming .NET Core on Linux (net451 will not work).
23-
@(if [ "$(OS)" = "Linux" ]] ; then \
23+
@(if [[ "$(OS)" == "Linux" ]] ; then \
2424
for d in $(EXAMPLE_DIRS) ; do dotnet $@ -f $(LINUX_FRAMEWORK) $$d; done ; \
2525
for d in $(TEST_DIRS) ; do dotnet $@ -f $(LINUX_FRAMEWORK) $$d; done ; \
2626
else \
@@ -29,7 +29,7 @@ build:
2929
fi)
3030

3131
test:
32-
@(if [ "$(OS)" = "Linux" ]] ; then \
32+
@(if [[ "$(OS)" == "Linux" ]] ; then \
3333
dotnet test -f $(LINUX_FRAMEWORK) test/Confluent.Kafka.UnitTests/Confluent.Kafka.UnitTests.csproj ; \
3434
else \
3535
dotnet test -f $(DEFAULT_FRAMEWORK) test/Confluent.Kafka.UnitTests/Confluent.Kafka.UnitTests.csproj ; \

0 commit comments

Comments
 (0)