Unverified Commit 80c8b15b authored by David McFarland's avatar David McFarland Committed by GitHub
Browse files

Merge pull request #295844 from eclairevoyant/fix-dotnet-executables

`buildDotnetModule`: fix handling `executables` with an empty list
parents aa23ec0e 858f4db3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -30,7 +30,8 @@ wrapDotnetProgram() {
dotnetFixupHook() {
    echo "Executing dotnetFixupPhase"

    if [ "${executables-}" ]; then
    # check if executables is declared (including empty values, in which case we generate no executables)
    if declare -p executables &>/dev/null; then
        for executable in ${executables[@]}; do
            path="${installPath-$out/lib/$pname}/$executable"