Fixed the bug to the '--ibc-dir' option (#239)
author최종헌/Common Platform Lab(SR)/Engineer/삼성전자 <j-h.choi@samsung.com>
Tue, 2 Jun 2020 04:56:26 +0000 (13:56 +0900)
committer이형주/Common Platform Lab(SR)/Staff Engineer/삼성전자 <leee.lee@samsung.com>
Tue, 2 Jun 2020 04:56:26 +0000 (13:56 +0900)
Change-Id: I512be0bc7fb815080d8979f35c66605cb9f4a41c

NativeLauncher/tool/dotnettool.cc

index 4a6eda6..fa0608a 100644 (file)
@@ -121,6 +121,7 @@ int main(int argc, char* argv[])
 
                        setenv("COMPlus_IBCFileDir", const_cast<char *>(ibcFilePath.c_str()), 1);
                        setenv("COMPlus_UseIBCFile", const_cast<char *>("1"), 1);
+                       it = args.erase(it);
                } else {
                        ++it;
                }