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")" |