From b87ddc0dd525c49aa661f27e79809c7596d022a2 Mon Sep 17 00:00:00 2001 From: David McFarland Date: Mon, 15 Jul 2024 22:38:59 -0300 Subject: [PATCH] nuget-to-nix: catch errors from process substitution --- pkgs/build-support/dotnet/nuget-to-nix/nuget-to-nix.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/build-support/dotnet/nuget-to-nix/nuget-to-nix.sh b/pkgs/build-support/dotnet/nuget-to-nix/nuget-to-nix.sh index 92b0200ec034..aa6221321dbf 100755 --- a/pkgs/build-support/dotnet/nuget-to-nix/nuget-to-nix.sh +++ b/pkgs/build-support/dotnet/nuget-to-nix/nuget-to-nix.sh @@ -22,6 +22,7 @@ export DOTNET_NOLOGO=1 export DOTNET_CLI_TELEMETRY_OPTOUT=1 mapfile -t sources < <(dotnet nuget list source --format short | awk '/^E / { print $2 }') +wait "$!" declare -a remote_sources declare -A base_addresses