aboutsummaryrefslogtreecommitdiff
path: root/net/cvsup-mirror
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2004-03-17 11:23:04 +0000
committerMathieu Arnold <mat@FreeBSD.org>2004-03-17 11:23:04 +0000
commit5dba4dc13fe78d15b684c99b97d1cabbf7c8953e (patch)
tree46a0e8e2cd80b75dc76954dfcad7568391bd9344 /net/cvsup-mirror
parent72d02ae8ea3bbd3b851086429ddb04810deb8be7 (diff)
downloadports-5dba4dc13fe78d15b684c99b97d1cabbf7c8953e.tar.gz
ports-5dba4dc13fe78d15b684c99b97d1cabbf7c8953e.zip
Notes
Diffstat (limited to 'net/cvsup-mirror')
-rw-r--r--net/cvsup-mirror/Makefile2
-rw-r--r--net/cvsup-mirror/files/update.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/net/cvsup-mirror/Makefile b/net/cvsup-mirror/Makefile
index 8c06ab65e7d5..86c7acdd2371 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 97a224bfc9ed..025900a31306 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