1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

Fix variable name used for token file

Submitted by:	Matthew Seaman <m.seaman@infracaninophile.co.uk>
This commit is contained in:
Marc G. Fournier 2006-08-14 20:26:12 +00:00
parent 4c455574a8
commit 0744dfbb6b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=170632
3 changed files with 9 additions and 9 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= bsdstats
PORTVERSION= 3.0
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= sysutils
DISTFILES=

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/Attic/300.statistics,v 1.12 2006-08-14 13:08:01 scrappy Exp $
# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/Attic/300.statistics,v 1.13 2006-08-14 20:26:12 scrappy Exp $
#
# If there is a global system configuration file, suck it in.
@ -42,9 +42,9 @@ get_id_token () {
then
IDTOKEN=$( /usr/bin/openssl rand -base64 16 )
idf=$( mktemp "$id_token_file.XXXXXX" ) && \
/usr/sbin/chown root:wheel $id_token_file && \
/bin/chmod 600 $id_token_file && \
idf=$( mktemp "$id_token_file.XXXXXX" ) && \
/usr/sbin/chown root:wheel $idf && \
/bin/chmod 600 $idf && \
/usr/bin/fetch -qo - \
"http://$checkin_server/scripts/getid.php?key=$IDTOKEN" | {

View File

@ -1,6 +1,6 @@
#!/bin/sh -
#
# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/300.statistics.in,v 1.12 2006-08-14 13:08:01 scrappy Exp $
# $FreeBSD: /tmp/pcvs/ports/sysutils/bsdstats/files/300.statistics.in,v 1.13 2006-08-14 20:26:12 scrappy Exp $
#
# If there is a global system configuration file, suck it in.
@ -42,9 +42,9 @@ get_id_token () {
then
IDTOKEN=$( /usr/bin/openssl rand -base64 16 )
idf=$( mktemp "$id_token_file.XXXXXX" ) && \
/usr/sbin/chown root:wheel $id_token_file && \
/bin/chmod 600 $id_token_file && \
idf=$( mktemp "$id_token_file.XXXXXX" ) && \
/usr/sbin/chown root:wheel $idf && \
/bin/chmod 600 $idf && \
/usr/bin/fetch -qo - \
"http://$checkin_server/scripts/getid.php?key=$IDTOKEN" | {