From d14d281e7c47bfd24b7035cfb1fdbf7b1ba721e6 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Fri, 26 May 2023 02:08:17 +0000 Subject: [PATCH] Avoid warning about null bytes when checking for Git LFS checkouts --- app/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/build.sh b/app/build.sh index 8b7ec2dad7..6975602463 100755 --- a/app/build.sh +++ b/app/build.sh @@ -59,7 +59,7 @@ function abspath { } function check_lfs_file { - if [ "$(head --bytes 7 "$1")" = "version" ]; then + if [ "$(head --bytes 5 "$1")" = "versi" ]; then echo "$1 not checked out -- install Git LFS and run 'git lfs pull'" >&2 exit 1 fi