mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 10:56:27 -04:00
Ok, fix it once more, I swear I won't be doint sh scripts for a while
Pointy Hat To: me (I still have it, don't search)
This commit is contained in:
parent
72d02ae8ea
commit
5dba4dc13f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104277
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= cvsup-mirror
|
||||
PORTVERSION= 1.3
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net
|
||||
DISTFILES=
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ umask 22
|
|||
|
||||
for i in $(/usr/bin/jot ${num_logs} $((${num_logs}-1)) 0)
|
||||
do
|
||||
test -f ${log}.$i${gz_ext} && mv -f ${log}.$i${gz_ext} ${log}.$((i+1))${gz_ext}
|
||||
test -f ${log}.$i${gz_ext} && mv -f ${log}.$i${gz_ext} ${log}.$(($i+1))${gz_ext}
|
||||
done
|
||||
|
||||
test -f ${log} && mv -f ${log} ${log}.0 && [ ${use_gzip} != 0 ] && /usr/bin/gzip -9 ${log}.0
|
||||
|
|
Loading…
Add table
Reference in a new issue