}
std::string path(argv[1]);
+ #ifdef WIN32
+ std::string fname = path + "\\bbtkPackage";
+ #else
std::string fname = path + "/bbtkPackage";
+ #endif
+
if ( ! Utilities::FileExists( fname ) )
{
f.open(fname.c_str());
std::string pname;
f >> pname;
+ while(pname[0] == '#')
+ {
+ getline(f, pname, '\n');
+ f >> pname;
+ }
+
f.close();
command += "\"";
#endif
command += " " + pname + " -q";
-
+ std::cout << "executing '" << command << "'" << std::endl;
if ( system ( command.c_str() ) )
{
std::cout << "An error occured while running '"
command += "\"";
#endif
command += " -q";
-
+ std::cout << "executing '" << command << "'" << std::endl;
if ( ! system ( command.c_str() ) )
{
std::cout << "Package '"