From 53624986515bd4d706891cbc3e1f376f7a22dd86 Mon Sep 17 00:00:00 2001
From: James Adams <james.adams@stfc.ac.uk>
Date: Thu, 12 Sep 2024 10:56:48 +0100
Subject: [PATCH] ci-scripts: Indent checker only accepts a single file

---
 .ci-scripts/indent | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.ci-scripts/indent b/.ci-scripts/indent
index 25ad64b..4bf7cb0 100755
--- a/.ci-scripts/indent
+++ b/.ci-scripts/indent
@@ -5,4 +5,4 @@ rm -f /tmp/indent.py
 wget -q https://raw.githubusercontent.com/stfc/Pan-Indenter/master/pan_indent_checker.py -O /tmp/indent.py
 chmod u+x /tmp/indent.py
 
-git diff --name-only HEAD^ | grep '\.pan$' | xargs -r /tmp/indent.py check || exit 1
+git diff --name-only HEAD^ | grep '\.pan$' | xargs -rn1 /tmp/indent.py check || exit 1