Merge pull request #295844 from eclairevoyant/fix-dotnet-executables
`buildDotnetModule`: fix handling `executables` with an empty list
This commit is contained in:
commit
80c8b15bce
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in a new issue