Skip to content

Commit

Permalink
Change 'is not' in toolchain string comparision to '!='
Browse files Browse the repository at this point in the history
  • Loading branch information
bgabor666 committed Feb 5, 2016
1 parent 9dad14a commit ec43004
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csibe.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
toolchain_path = os.path.join(csibe_path, "toolchain-files")

cmake_toolchain_option = ""
if args.toolchain is not "native":
if args.toolchain != "native":
toolchain_file = "{}.cmake".format(args.toolchain)
cmake_toolchain_option = "-DCMAKE_TOOLCHAIN_FILE={}".format(os.path.join(toolchain_path, toolchain_file))

Expand Down

0 comments on commit ec43004

Please sign in to comment.