fix: i do not know how to do bash ok?
Some checks failed
build liminix / build_zyxel-nwa50ax_mips (push) Has been cancelled
build liminix / build_vm_qemu_mips (push) Has been cancelled
build liminix / test_hostapd (push) Has been cancelled
build liminix / test_shell_customization (push) Has been cancelled

fix the quoting for the array iteration

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
Raito Bezarius 2024-12-09 00:14:22 +01:00
parent d6c976f8a1
commit 9f9ade29f4

View file

@ -206,7 +206,7 @@ extraPkgs // {
postInstall = '' postInstall = ''
${(old.postInstall or "")} ${(old.postInstall or "")}
non_necessary_binaries=("tc" "rdma" "dcb" "tipc" "vdpa") non_necessary_binaries=("tc" "rdma" "dcb" "tipc" "vdpa")
for needless_binary in "$non_necessary_binaries[@]"; do for needless_binary in "''${non_necessary_binaries[@]}"; do
echo "Removing unnecessary binary $out/$needless_binary" echo "Removing unnecessary binary $out/$needless_binary"
rm "$out/$needless_binary" rm "$out/$needless_binary"
done done