Unverified Commit 858f4db3 authored by éclairevoyant's avatar éclairevoyant
Browse files

buildDotnetModule: fix handling `executables` with an empty list

parent 8d5a3b09
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"