cms-sw/cmssw — pull request #2970 by syuvivida (2014-03-22 10:28:02+00:00)
Title: Add error handling

Added error handling. If the work directory exists, the script moves the old directory to old_${name}$ and the old LHE file to old_output.lhe. If the input data card or the data card is not found or if the make file fails to compile the executable pwhg_main, the script prints out error message and exit the program.