Skip to content

Commit

Permalink
fix macos build
Browse files Browse the repository at this point in the history
  • Loading branch information
igagis committed Apr 28, 2024
1 parent 2e0cfaa commit c88de3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/myci-license.sh
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ for f in $infiles; do
continue
fi

if ! head -$license_length $f | cmp $license_file; then
if ! cmp --bytes=$license_length $f $license_file; then
if [ "${check}" == "true" ]; then
echo "$f: error: wrong license"
head -$license_length $f | diff $license_file - || true
Expand Down

0 comments on commit c88de3f

Please sign in to comment.