aboutsummaryrefslogtreecommitdiff
path: root/sysutils/bsdstats/files/300.statistics
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@FreeBSD.org>2006-08-14 20:26:12 +0000
committerMarc G. Fournier <scrappy@FreeBSD.org>2006-08-14 20:26:12 +0000
commit0744dfbb6b6917c8ab8a25e5c9630bd005414693 (patch)
treecef4097d800d94d33ccafe9e18bdc2cc132e1a04 /sysutils/bsdstats/files/300.statistics
parent4c455574a8f963e767fe8d9f68d00aaeab55067c (diff)
downloadports-0744dfbb6b6917c8ab8a25e5c9630bd005414693.tar.gz
ports-0744dfbb6b6917c8ab8a25e5c9630bd005414693.zip
Fix variable name used for token file
Submitted by: Matthew Seaman <m.seaman@infracaninophile.co.uk>
Notes
Notes: svn path=/head/; revision=170632
Diffstat (limited to 'sysutils/bsdstats/files/300.statistics')
-rw-r--r--sysutils/bsdstats/files/300.statistics8
1 files changed, 4 insertions, 4 deletions
diff --git a/sysutils/bsdstats/files/300.statistics b/sysutils/bsdstats/files/300.statistics
index 0bc1cd2b07b6..0b09e6cdc671 100644
--- a/sysutils/bsdstats/files/300.statistics
+++ b/sysutils/bsdstats/files/300.statistics
@@ -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" | {