Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 927022 | Differences between
and this patch

Collapse All | Expand All

(-)a/copy-firmware.sh (-1 / +1 lines)
Lines 94-100 Link Here
94
94
95
# shellcheck disable=SC2162 # file/folder name can include escaped symbols
95
# shellcheck disable=SC2162 # file/folder name can include escaped symbols
96
grep -E '^Link:' WHENCE | sed -e 's/^Link: *//g;s/-> //g' | while read l t; do
96
grep -E '^Link:' WHENCE | sed -e 's/^Link: *//g;s/-> //g' | while read l t; do
97
    [ -n "${FIRMWARE_LIST}" ]  && if ! echo "${FIRMWARE_LIST}" | grep -q "${t}"; then continue; fi
97
    [ -n "${FIRMWARE_LIST}" ]  && if ! echo "${FIRMWARE_LIST}" | grep -Fqe "${l}"; then continue; fi
98
    directory="$destdir/$(dirname "$l")"
98
    directory="$destdir/$(dirname "$l")"
99
    install -d "$directory"
99
    install -d "$directory"
100
    target="$(cd "$directory" && realpath -m -s "$t")"
100
    target="$(cd "$directory" && realpath -m -s "$t")"

Return to bug 927022