buildDotnetModule: fix handling executables
with an empty list
This commit is contained in:
parent
8d5a3b0992
commit
858f4db304
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