summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoravsm <avsm@openbsd.org>2003-06-30 22:04:57 +0000
committeravsm <avsm@openbsd.org>2003-06-30 22:04:57 +0000
commitd48d5573f9d63194ed04ed99d263309c4be5392d (patch)
tree793cf7a75416aa076031302895deeadbdab6ba17
parentMake the trace status of a macro an actual argument that gets pushed (diff)
downloadwireguard-openbsd-d48d5573f9d63194ed04ed99d263309c4be5392d.tar.xz
wireguard-openbsd-d48d5573f9d63194ed04ed99d263309c4be5392d.zip
spacing nit, and a bit more randomness for mktemp
millert@ ok
-rw-r--r--etc/weekly6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/weekly b/etc/weekly
index e9cb9c318b4..8a253b7ad62 100644
--- a/etc/weekly
+++ b/etc/weekly
@@ -1,12 +1,12 @@
#!/bin/sh -
#
-# $OpenBSD: weekly,v 1.13 2003/04/08 20:42:42 millert Exp $
+# $OpenBSD: weekly,v 1.14 2003/06/30 22:04:57 avsm Exp $
#
PATH=/bin:/sbin:/usr/sbin:/usr/bin:/usr/libexec
export PATH
-if [ -f /etc/weekly.local ];then
+if [ -f /etc/weekly.local ]; then
echo ""
echo "Running weekly.local:"
. /etc/weekly.local
@@ -14,7 +14,7 @@ fi
echo ""
if [ -f /var/db/locate.database ]; then
- TMP=`mktemp /var/db/locate.database.XXXXXX`
+ TMP=`mktemp /var/db/locate.database.XXXXXXXXXX`
if [ $? -eq 0 ]; then
trap 'rm -f $TMP' 0 1 15
echo "Rebuilding locate database:"