diff --git a/common/common-functions b/common/common-functions index c6814be..db5c631 100644 --- a/common/common-functions +++ b/common/common-functions @@ -332,8 +332,8 @@ wrt_run_as_chroot1() { # local file=$2 ( cat << EOF - @( time { \$(CHROOT1) 'cd \$(SCRIPT_ROOT) && source envars && \$(crCMDSDIR)/$file >>logs/\$@ 2>&1' ; } ) 2>>logs/\$@ && \\ - \$(PRT_DU_CR) >> logs/\$@ + @( time { \$(CHROOT1) 'cd \$(SCRIPT_ROOT) && source envars && \$(crCMDSDIR)/$file >>logs/${this_script} 2>&1' ; } ) 2>>logs/${this_script} && \\ + \$(PRT_DU_CR) >> logs/${this_script} EOF ) >> $MKFILE.tmp }