#include <boost/bind.hpp>
-#include "support/std_sstream.h"
+#include <sstream>
#include <fstream>
namespace support = lyx::support;
tostr(counter++) + ".sh";
std::ofstream fs(script_file_.c_str());
- if (!fs.good())
+ if (!fs.good()) {
+ lyxerr << "Unable to write the conversion script to \""
+ << script_file_ << '\n'
+ << "Please check your directory permissions."
+ << std::endl;
return;
+ }
fs << script.str();
fs.close();