summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-05-30 07:11:53 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-05-30 07:11:53 +0000
commit8eb1f1f8d6285444ca598d5bd19f11a89e5ac344 (patch)
tree3f8553f2a78a03c1bdef0445484c8ae98bfc0811
parentd908a83a81adfc346b70e30ce4fc7853f62e0df6 (diff)
1 fix from enami@ba2.so-net.or.jp
-rw-r--r--etc/daily4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/daily b/etc/daily
index ddd351a6176..badba77b4d9 100644
--- a/etc/daily
+++ b/etc/daily
@@ -1,6 +1,6 @@
#!/bin/sh -
#
-# $OpenBSD: daily,v 1.18 1997/02/19 16:49:18 millert Exp $
+# $OpenBSD: daily,v 1.19 1997/05/30 07:11:52 deraadt Exp $
# From: @(#)daily 8.2 (Berkeley) 1/25/94
#
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin
@@ -178,7 +178,7 @@ if [ -f /etc/Distfile ]; then
echo ""
echo "Running rdist:"
if [ -d /var/log/rdist ]; then
- logf=`date | awk '{printf "%s.%s.%s", $6, $2, $3}'`
+ logf=`date +%Y.%b.%e`
rdist -f /etc/Distfile 2>&1 | tee /var/log/rdist/$logf
else
rdist -f /etc/Distfile