Skip to content

Commit

Permalink
suppressed error messages for cp to allow for empty patch directory
Browse files Browse the repository at this point in the history
  • Loading branch information
agrohsje committed Jul 6, 2019
1 parent bf64c0a commit b0353c4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mcgeneration/setup_production.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ else
cp -r ${EFTMCPATH}/${COPY} ${GENPRODPATH}/bin/MadGraph5_aMCatNLO/.
done

# add mg5_amc@nlo patches which are not yet in geproductions
cp -r ${EFTMCPATH}/mg5patches/* ${GENPRODPATH}/bin/MadGraph5_aMCatNLO/patches/.
# add mg5_amc@nlo patches which are not yet in geproductions
# suppress error messages as there might be no special mg5 patches and error messages are confusing
cp -r ${EFTMCPATH}/mg5patches/* ${GENPRODPATH}/bin/MadGraph5_aMCatNLO/patches/. 2>/dev/null

# adjust central scripts
cd ${GENPRODPATH}/bin/MadGraph5_aMCatNLO
Expand Down

0 comments on commit b0353c4

Please sign in to comment.