File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
GeneratorInterface/SherpaInterface/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ namespace spf {
2828 int SherpackFetcher::Fetch () {
2929 std::string option = " -c" ;
3030 std::string constr = " `cmsGetFnConnect frontier://smallfiles`" ;
31- std::string sherpack = " sherpa_" + SherpaProcess + " _MASTER.tgz" ;
31+ std::string sherpack = SherpackLocation + " / sherpa_" + SherpaProcess + " _MASTER.tgz" ;
3232 std::string sherpackunzip = " sherpa_" + SherpaProcess + " _MASTER.tar" ;
3333 std::string path = SherpackLocation + " /" + sherpack;
3434
@@ -48,7 +48,7 @@ namespace spf {
4848
4949 std::ifstream my_file (sherpack.c_str ());
5050 if (!my_file.good ()) {
51- throw cms::Exception (" SherpaInterface" ) << " SherpackFetcher: No Sherpack found" << std::endl;
51+ throw cms::Exception (" SherpaInterface" ) << " SherpackFetcher: No Sherpack found: " << sherpack << std::endl;
5252 return -2 ;
5353 }
5454 my_file.close ();
You can’t perform that action at this time.
0 commit comments