Diff of /src/hugin_base/algorithms/assistant_makefile/AssistantMakefilelibExport.cpp [c1cf5a] .. [1edc79] Maximize Restore

  Switch to side-by-side view

--- a/src/hugin_base/algorithms/assistant_makefile/AssistantMakefilelibExport.cpp
+++ b/src/hugin_base/algorithms/assistant_makefile/AssistantMakefilelibExport.cpp
@@ -81,7 +81,7 @@
 
 #ifdef _WINDOWS
     mgr.own_add(new Comment("Force using cmd.exe"));
-    mf::Variable* winshell = mgr.own(new mf::Variable("SHELL", getenv("ComSpec"), Makefile::NONE));
+    mf::Variable* winshell = mgr.own(new mf::Variable("SHELL", std::string(getenv("SystemRoot"))+"\\system32\\cmd.exe", Makefile::NONE));
     winshell->getDef().add();
 #endif