From c398763825e19b87992113f5a827d89c019e42bf Mon Sep 17 00:00:00 2001 From: tbritton Date: Mon, 17 Apr 2017 16:29:16 -0400 Subject: [PATCH] more tweaks --- MCwrapper/MakeMC.csh | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/MCwrapper/MakeMC.csh b/MCwrapper/MakeMC.csh index 7d44d68c..f3b562b9 100755 --- a/MCwrapper/MakeMC.csh +++ b/MCwrapper/MakeMC.csh @@ -214,8 +214,9 @@ if ( "$GENR" != "0" ) then cp $CONFIG_FILE ./$STANDARD_NAME.conf endif + if ( "$gen_pre" != "file" ) then - config_file_name=`basename "$CONFIG_FILE"` + set config_file_name=`basename "$CONFIG_FILE"` echo $config_file_name endif @@ -422,7 +423,7 @@ endif if ( "$gen_pre" != "file" ) then mv $PWD/*.conf $OUTDIR/configurations/ -fi - mv $PWD/*.hddm $OUTDIR/hddm/ +endif +mv $PWD/*.hddm $OUTDIR/hddm/ # mv $PWD/*.root $OUTDIR/root/ #just in case echo `date`