aboutsummaryrefslogtreecommitdiff
path: root/sysutils/bsdstats
diff options
context:
space:
mode:
authorEitan Adler <eadler@FreeBSD.org>2011-09-25 21:35:26 +0000
committerEitan Adler <eadler@FreeBSD.org>2011-09-25 21:35:26 +0000
commit8be51789347ed22d4081decbb4fb528bbe5b4b0f (patch)
tree3a01c2d73c9fee87c7ca566c5dec300000f09de2 /sysutils/bsdstats
parent3c6bb6bb0468d04eccfd6e0b3b1021c6d8b2f244 (diff)
downloadports-8be51789347ed22d4081decbb4fb528bbe5b4b0f.tar.gz
ports-8be51789347ed22d4081decbb4fb528bbe5b4b0f.zip
Notes
Diffstat (limited to 'sysutils/bsdstats')
-rw-r--r--sysutils/bsdstats/Makefile2
-rw-r--r--sysutils/bsdstats/files/300.statistics.in4
2 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/bsdstats/Makefile b/sysutils/bsdstats/Makefile
index e0aaa2000e83..bb85967e4fc3 100644
--- a/sysutils/bsdstats/Makefile
+++ b/sysutils/bsdstats/Makefile
@@ -7,7 +7,7 @@
PORTNAME= bsdstats
PORTVERSION= 5.5
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
DISTFILES=
diff --git a/sysutils/bsdstats/files/300.statistics.in b/sysutils/bsdstats/files/300.statistics.in
index 50173b629006..8d4304b6b97c 100644
--- a/sysutils/bsdstats/files/300.statistics.in
+++ b/sysutils/bsdstats/files/300.statistics.in
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/300.statistics.in,v 1.44 2010-08-19 03:06:13 amdmi3 Exp $
+# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/300.statistics.in,v 1.45 2011-09-25 21:35:26 eadler Exp $
#
# If there is a global system configuration file, suck it in.
@@ -172,7 +172,7 @@ report_ports () {
# Make the request
string_length=`echo ${query_string} | wc -m`
- string_length=`expr ${string_length} - 1`
+ string_length=$((string_length - 1))
echo "POST ${url_prefix}/scripts/report_ports.php HTTP/1.0
Host: ${checkin_server}