diff --git a/dvmp/scripts/run_generator_instance.sh b/dvmp/scripts/run_generator_instance.sh index bb6c28b43d371dd80950b49f0f8eee2c5509cc7d..2564299bc96f739a3255026d5ac22b653b389698 100755 --- a/dvmp/scripts/run_generator_instance.sh +++ b/dvmp/scripts/run_generator_instance.sh @@ -111,9 +111,12 @@ echo "Running the generator" lager -r ${RNG_SEED} -c ${FNAME}.json -e ${NEVENTS} -o . ls -lrth +popd + + ## Finally, move relevant output into the artifacts directory echo "Moving generator output into ${DATA_PATH}" mkdir -p ${DATA_PATH} -for ext in hepmc json log root; do - mv *.${FNAME}.*.${ext} ${DATA_PATH}/${FNAME}.${ext} +for ext in hepmc json log root ; do + mv dvmp/*.${FNAME}.*.${ext} ${DATA_PATH}/${FNAME}.${ext} done