From b0353c49e72c5ee772511654aee7c3e7c0120900 Mon Sep 17 00:00:00 2001 From: agrohsje Date: Sat, 6 Jul 2019 04:36:14 +0200 Subject: [PATCH] suppressed error messages for cp to allow for empty patch directory --- mcgeneration/setup_production.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mcgeneration/setup_production.sh b/mcgeneration/setup_production.sh index 63c0f2f8b..1fb167804 100644 --- a/mcgeneration/setup_production.sh +++ b/mcgeneration/setup_production.sh @@ -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