Merge #96259: stage-1 find-libs: initialise an empty array

This commit is contained in:
Vladimír Čunát 2020-08-25 12:40:54 +02:00
commit 4f157f45f5
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA

View File

@ -36,7 +36,7 @@ let
set -euo pipefail
declare -A seen
declare -a left
left=()
patchelf="${pkgs.buildPackages.patchelf}/bin/patchelf"
@ -48,7 +48,7 @@ let
done
}
add_needed $1
add_needed "$1"
while [ ''${#left[@]} -ne 0 ]; do
next=''${left[0]}