Thanks, applied as 4db4d8ffe9dd2a78d938d8bd5fc3085219dbf5b7.

Michael

[sent from post-receive hook]

On Thu, 16 Jan 2025 17:09:40 +0100, Markus Heidelberg <[email protected]> 
wrote:
> There is always a platform build directory, the logfile is not created
> in BSP root ($PTXDIST_WORKSPACE/logfile) anymore since commit
> 83bf2580f8 ("[ptxdist] always use a platform dir", 2010-11-15).
> 
> Furthermore, $PTX_LOGFILE is already deleted in clean() invoked at the
> beginning of the "distclean" action, so the whole rm command is
> unnecessary.
> 
> Also remove "logfile" from ignore rules, it is only created in the
> platform build directory of the BSP, not in the PTXdist tree.
> 
> Signed-off-by: Markus Heidelberg <[email protected]>
> Message-Id: <[email protected]>
> Signed-off-by: Michael Olbrich <[email protected]>
> 
> diff --git a/.gitignore b/.gitignore
> index 50bfa5185269..23623fdb5806 100644
> --- a/.gitignore
> +++ b/.gitignore
> @@ -13,8 +13,6 @@
>  \#*#
>  .\#*
>  
> -logfile
> -
>  /bin/*
>  !/bin/ptxdist
>  !/bin/ptxdist-auto-version
> diff --git a/bin/ptxdist b/bin/ptxdist
> index 08d7f03c476b..1f561fdf69c3 100755
> --- a/bin/ptxdist
> +++ b/bin/ptxdist
> @@ -1815,9 +1815,6 @@ EOF
>                               fi
>                       done
>  
> -                     echo "${PTXDIST_LOG_PROMPT}removing logs..."
> -                     rm -f -- "${PTX_LOGFILE}" "${PTXDIST_WORKSPACE}/logfile"
> -
>                       echo
>                       exit
>                       ;;

Reply via email to