From ead53cf4f5362bc4b272c2376dbfad0344cadca5 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 18 Feb 2024 14:09:02 +0100 Subject: [PATCH] Avoid beautysh error --- dev/setup/git/hooks/pre-commit.legacy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dev/setup/git/hooks/pre-commit.legacy b/dev/setup/git/hooks/pre-commit.legacy index 91daacc5ad5..70a4384edfe 100755 --- a/dev/setup/git/hooks/pre-commit.legacy +++ b/dev/setup/git/hooks/pre-commit.legacy @@ -17,8 +17,7 @@ echo "Running precommit hook in .git/hooks/pre-commit" 1>&2 if [ "$#" -eq 1 ] then oIFS=$IFS - IFS=' - ' + IFS=$'\n' SFILES="$1" IFS=$oIFS fi