summaryrefslogtreecommitdiff
path: root/Meta/check-ak-test-files.sh
diff options
context:
space:
mode:
authorthislooksfun <tlf@thislooks.fun>2021-10-26 13:11:24 -0500
committerAndreas Kling <kling@serenityos.org>2021-11-02 12:23:30 +0100
commit170e956c80ebcfbb2ed3bedfb5cee2b53192efba (patch)
tree248f2183e6f6ece2e376bec0a7602d483c46a596 /Meta/check-ak-test-files.sh
parentc2d44209a8f508ccb243410fc0e591976820b287 (diff)
downloadserenity-170e956c80ebcfbb2ed3bedfb5cee2b53192efba.zip
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.
Diffstat (limited to 'Meta/check-ak-test-files.sh')
-rwxr-xr-xMeta/check-ak-test-files.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/Meta/check-ak-test-files.sh b/Meta/check-ak-test-files.sh
index d929eb146f..1a4b1b262a 100755
--- a/Meta/check-ak-test-files.sh
+++ b/Meta/check-ak-test-files.sh
@@ -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