Skip to content

Commit

Permalink
fix size check
Browse files Browse the repository at this point in the history
  • Loading branch information
jpillora authored Nov 9, 2020
1 parent 79ed9be commit ff7eb02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ function install {
fail "could not find find binary (largest file)"
fi
#ensure its larger than 1MB
if [[ $(du -m $TMP_BIN | cut -f1) -lt 2 ]]; then
if [[ $(du -m $TMP_BIN | cut -f1) -lt 1 ]]; then
fail "no binary found ($TMP_BIN is not larger than 1MB)"
fi
#move into PATH or cwd
Expand Down
2 changes: 1 addition & 1 deletion scripts/statik.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ff7eb02

Please sign in to comment.