Avoid beautysh error

This commit is contained in:
Laurent Destailleur 2024-02-18 14:09:02 +01:00
parent ba8c7d14c9
commit ead53cf4f5

View File

@ -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