diff options
author | mat <mat@FreeBSD.org> | 2004-03-17 11:23:04 +0000 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2004-03-17 11:23:04 +0000 |
commit | a661630f7f134eea56a8b4279e0b285416c6aa4a (patch) | |
tree | 70e26a0a29d5ac245ffd64ee0d011de7aa14433e /net/cvsup-mirror | |
parent | 4b833fce63291f791305e628dbcdd3003bedf73d (diff) | |
download | FreeBSD-ports-a661630f7f134eea56a8b4279e0b285416c6aa4a.zip FreeBSD-ports-a661630f7f134eea56a8b4279e0b285416c6aa4a.tar.gz |
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)
Diffstat (limited to 'net/cvsup-mirror')
-rw-r--r-- | net/cvsup-mirror/Makefile | 2 | ||||
-rw-r--r-- | net/cvsup-mirror/files/update.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/net/cvsup-mirror/Makefile b/net/cvsup-mirror/Makefile index 8c06ab6..86c7acd 100644 --- a/net/cvsup-mirror/Makefile +++ b/net/cvsup-mirror/Makefile @@ -7,7 +7,7 @@ PORTNAME= cvsup-mirror PORTVERSION= 1.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= net DISTFILES= diff --git a/net/cvsup-mirror/files/update.sh b/net/cvsup-mirror/files/update.sh index 97a224b..025900a 100644 --- a/net/cvsup-mirror/files/update.sh +++ b/net/cvsup-mirror/files/update.sh @@ -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 |