Program: bbtk
Module: $RCSfile: bbtkConfigurationFile.cxx,v $
Language: C++
- Date: $Date: 2009/03/23 13:06:41 $
- Version: $Revision: 1.29 $
+ Date: $Date: 2009/03/24 13:42:59 $
+ Version: $Revision: 1.30 $
=========================================================================*/
/* ---------------------------------------------------------------------
ConfigurationFile::ConfigurationFile()
{
- mFile_separator = VALID_FILE_SEPARATOR;
+ mFile_separator = VALID_FILE_SEPARATOR;
// ==> Set system paths
mBin_path = Utilities::GetExecutablePath();
#endif
*/
#ifdef MACOSX
- mBin_path = mBin_path + "/../../..";
+
+ std::string macPath("Contents/MacOS");
+ int sbp = mBin_path.length();
+ int smp = macPath.length();
+ if (mBin_path.compare( sbp-smp, smp, macPath )==0 )
+ {
+ mBin_path = mBin_path + "/../../..";
+ }
+
+
#endif
mInstall_path = mBin_path + "/..";
Program: bbtk
Module: $RCSfile: bbtkWxGUIScriptingInterface.cxx,v $
Language: C++
- Date: $Date: 2009/03/23 13:06:41 $
- Version: $Revision: 1.34 $
+ Date: $Date: 2009/03/24 13:42:59 $
+ Version: $Revision: 1.35 $
=========================================================================*/
/* ---------------------------------------------------------------------
mInterpreter = bbtk::Interpreter::New();
mInterpreter->SetUser(this);
- mInterpreter->SetCommandLine(true);
+ mInterpreter->SetCommandLine(true);
mInterpreter->SetThrow(true);
// mInterpreter->AddBreakObserver
//boost::bind( &WxGUIScriptingInterface::InterpreterUserOnBreak, this ));
#endif
command += " " + pack + " -q";
bbtkMessage("debug",1,"Executing system command '"<<command<<"'"<<std::endl);
-
+
+printf("EED WxGUIScriptingInterface::DoRegeneratePackageDoc %s", command.c_str());
if ( ! system ( command.c_str() ) )
{