diff options
| author | Emil Velikov <emil.l.velikov@gmail.com> | 2024-09-22 17:03:53 +0100 |
|---|---|---|
| committer | Mario Limonciello <superm1@gmail.com> | 2024-10-10 14:33:32 +0000 |
| commit | 25d5e6352ba5dd8d8d75cb80fc905f65b13c4c44 (patch) | |
| tree | 5a6180bb856e10cdf7a4651cd939faeb9dab520e /copy-firmware.sh | |
| parent | 6edd0fd36acb93c8075bbd700ad91f53fc810c0e (diff) | |
copy-firmware.sh: remove no longer reachable test -f
With previous commit we call check_whence.py, which ensures that all files
listed are available. Drop the now dead code.
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Diffstat (limited to 'copy-firmware.sh')
| -rwxr-xr-x | copy-firmware.sh | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/copy-firmware.sh b/copy-firmware.sh index 0f21022a..da3d9620 100755 --- a/copy-firmware.sh +++ b/copy-firmware.sh @@ -76,7 +76,6 @@ $verbose "Checking that WHENCE file is formatted properly" # shellcheck disable=SC2162 # file/folder name can include escaped symbols grep -E '^(RawFile|File):' WHENCE | sed -E -e 's/^(RawFile|File): */\1 /;s/"//g' | while read k f; do - test -f "$f" || continue install -d "$destdir/$(dirname "$f")" $verbose "copying/compressing file $f$compext" if test "$compress" != "cat" && test "$k" = "RawFile"; then |
