Meta: Remove unnecessary -i
Using `xargs -i <cmd> {}` is just doing the default behavior of xargs, but with extra steps that also don't work on macOS.
This commit is contained in:
parent
c2d44209a8
commit
170e956c80
Notes:
sideshowbarker
2024-07-18 01:37:04 +09:00
Author: https://github.com/thislooksfun Commit: https://github.com/SerenityOS/serenity/commit/170e956c80e Pull-request: https://github.com/SerenityOS/serenity/pull/10652 Reviewed-by: https://github.com/BenWiederhake ✅
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ while IFS= read -r FILENAME; do
|
|||
MISSING_FILES=y
|
||||
fi
|
||||
done < <(
|
||||
git ls-files 'Tests/AK/Test*.cpp' | xargs -i basename {}
|
||||
git ls-files 'Tests/AK/Test*.cpp' | xargs basename
|
||||
)
|
||||
|
||||
if [ "n" != "${MISSING_FILES}" ] ; then
|
||||
|
|
Loading…
Add table
Reference in a new issue