Avoid warning about null bytes when checking for Git LFS checkouts
This commit is contained in:
parent
febcf2568e
commit
d14d281e7c
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ function abspath {
|
||||||
}
|
}
|
||||||
|
|
||||||
function check_lfs_file {
|
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
|
echo "$1 not checked out -- install Git LFS and run 'git lfs pull'" >&2
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue