From 610156fb92cbf9feadf14b6d0827f0f840b4c765 Mon Sep 17 00:00:00 2001 From: Rhett Aultman Date: Thu, 5 Jan 2017 20:08:34 -0500 Subject: [PATCH] Fix bad merge artifact(?) Looks like merging up munged line 188 in CommandLineInterface.cpp, so that a string literal was being used where a global variable should be. --- solc/CommandLineInterface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solc/CommandLineInterface.cpp b/solc/CommandLineInterface.cpp index 4a4d3571b..e49e8517d 100644 --- a/solc/CommandLineInterface.cpp +++ b/solc/CommandLineInterface.cpp @@ -185,7 +185,7 @@ void CommandLineInterface::handleBinary(string const& _contract) { if (m_args.count(g_argBinary)) { - if (m_args.count("output-dir")) + if (m_args.count(g_argOutputDir)) createFile(m_compiler->filesystemFriendlyName(_contract) + ".bin", m_compiler->object(_contract).toHex()); else {