diff options
author | mat <mat@FreeBSD.org> | 2004-03-17 19:23:04 +0800 |
---|---|---|
committer | mat <mat@FreeBSD.org> | 2004-03-17 19:23:04 +0800 |
commit | a661630f7f134eea56a8b4279e0b285416c6aa4a (patch) | |
tree | 70e26a0a29d5ac245ffd64ee0d011de7aa14433e /net/cvsup-mirror | |
parent | 4b833fce63291f791305e628dbcdd3003bedf73d (diff) | |
download | freebsd-ports-graphics-a661630f7f134eea56a8b4279e0b285416c6aa4a.tar.gz freebsd-ports-graphics-a661630f7f134eea56a8b4279e0b285416c6aa4a.tar.zst freebsd-ports-graphics-a661630f7f134eea56a8b4279e0b285416c6aa4a.zip |
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 8c06ab65e7d..86c7acdd237 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 97a224bfc9e..025900a3130 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 |