Re: [gentoo-dev] [PATCH 7/7] eclass/dotnet-pkg.eclass: prepare for safely using Nuget

2024-02-03 Thread Maciej Barć
Is there any special reason for using "$(pwd)" instead of . here? In case of error you will get absolute paths: find $(pwd)/idontexist -delete vs find ./idontexist -delete W dniu 3.02.2024 o 17:57, Ulrich Mueller pisze: On Sat, 03 Feb 2024, Maciej Barć wrote: + find "$(pwd)"

Re: [gentoo-dev] [PATCH 7/7] eclass/dotnet-pkg.eclass: prepare for safely using Nuget

2024-02-03 Thread Ulrich Mueller
> On Sat, 03 Feb 2024, Maciej Barć wrote: > + find "$(pwd)" -maxdepth 1 -iname "nuget.config" -delete || Is there any special reason for using "$(pwd)" instead of . here? > + case "${1}" in Quotes not needed. > + if [[ -d "${1}" ]] ; then Quotes not needed.

[gentoo-dev] [PATCH 7/7] eclass/dotnet-pkg.eclass: prepare for safely using Nuget

2024-02-03 Thread Maciej Barć
Signed-off-by: Maciej Barć --- eclass/dotnet-pkg.eclass | 8 +-- eclass/nuget.eclass | 47 +++- 2 files changed, 52 insertions(+), 3 deletions(-) diff --git a/eclass/dotnet-pkg.eclass b/eclass/dotnet-pkg.eclass index 3647eb399..337864f1f 100644 ---