mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
build-dotnet-module: don't end with exit code 1 when update was sucessfull
otherwise scripts might end prematurely
This commit is contained in:
parent
17371df3ec
commit
0f386859f5
@ -204,7 +204,9 @@ stdenvNoCC.mkDerivation (args // {
|
||||
fi
|
||||
|
||||
# Since mktemp is used this will be empty if the script didnt succesfully complete
|
||||
! test -s "$depsFile" && rm -rf "$depsFile"
|
||||
if ! test -s "$depsFile"; then
|
||||
rm -rf "$depsFile"
|
||||
fi
|
||||
}
|
||||
|
||||
trap exitTrap EXIT INT TERM
|
||||
|
Loading…
Reference in New Issue
Block a user