show the size of the total and accept the max value as a valid value
This commit is contained in:
parent
6016209170
commit
4f4b51b57b
1 changed files with 3 additions and 3 deletions
6
Makefile
6
Makefile
|
@ -130,9 +130,9 @@ size:
|
|||
$(TAIL) -n 1 | \
|
||||
$(GREP) -o '[0-9]*K'| \
|
||||
$(AWK) '{ \
|
||||
if($$1 < $(MAXSIZE)) { \
|
||||
print "> Taille conforme" \
|
||||
if($$1 <= $(MAXSIZE)) { \
|
||||
printf "> Taille conforme ("; printf $$1; print ")" \
|
||||
} else { \
|
||||
print "> Fichiers trop lourd" \
|
||||
printf "> Fichiers trop lourd ("; printf $$1; print ")" \
|
||||
} \
|
||||
}'
|
||||
|
|
Reference in a new issue