From 610156fb92cbf9feadf14b6d0827f0f840b4c765 Mon Sep 17 00:00:00 2001 From: Rhett Aultman Date: Thu, 5 Jan 2017 20:08:34 -0500 Subject: 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(-) (limited to 'solc/CommandLineInterface.cpp') diff --git a/solc/CommandLineInterface.cpp b/solc/CommandLineInterface.cpp index 4a4d3571..e49e8517 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 { -- cgit v1.2.3