diff options
author | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2023-03-22 09:03:44 +0000 |
---|---|---|
committer | Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org> | 2023-03-22 09:03:44 +0000 |
commit | e17412d6a9e1fbc3bb82529747aa972360e1451d (patch) | |
tree | ce93795234b8d5d2dfdc4665370956f712ef49e0 /wrappers/shadow-ar.sh | |
parent | 7ce224c59e3c922ac4667a933caaa2ab2077b2f0 (diff) |
wrappers/shadow-ar.sh: Don't error on no input files
It is a valid use-case to call "ar" with no input files
llvm-ar crsPD library.a --format=gnu
to regenerate symbol table in a given format.
Change-Id: I37745ba73da7e78c0eecd869a42c00e07c7e0b3f
Diffstat (limited to 'wrappers/shadow-ar.sh')
-rwxr-xr-x | wrappers/shadow-ar.sh | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/wrappers/shadow-ar.sh b/wrappers/shadow-ar.sh index 1c44eb9e..6f35c9b8 100755 --- a/wrappers/shadow-ar.sh +++ b/wrappers/shadow-ar.sh @@ -101,10 +101,6 @@ if [ "${#orig_out[@]}" = 0 ]; then errors+=("orig missing: orig_out") fi -if [ "${#orig_input[@]}" = 0 ]; then - errors+=("orig missing: orig_input") -fi - print_shadow_path () { local path="$1" |