mirror of
https://git.freebsd.org/ports.git
synced 2025-05-31 02:16:27 -04:00
- use shell arithmetic instead of expr
PR: ports/160504 Submitted by: KOIE Hidetaka <koie@suri.co.jp> Submitted by: h h <aakuusta@gmail.com> Approved by: bapt (mentor)
This commit is contained in:
parent
3c6bb6bb04
commit
8be5178934
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282386
2 changed files with 3 additions and 3 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
PORTNAME= bsdstats
|
||||
PORTVERSION= 5.5
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= sysutils
|
||||
DISTFILES=
|
||||
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue