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)"
> 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.
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
---