Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.sbin/etcupdate There is a file named "._etcupdate_${TEMP...



details:   https://anonhg.NetBSD.org/src/rev/c260165d54c9
branches:  trunk
changeset: 329853:c260165d54c9
user:      apb <apb%NetBSD.org@localhost>
date:      Thu Jun 12 13:33:43 2014 +0000

description:
There is a file named "._etcupdate_${TEMPROOT}${1}" was
never created, so don't try to delete it.  Delete "$B" instead.

diffstat:

 usr.sbin/etcupdate/etcupdate |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r ceae9b44e6cc -r c260165d54c9 usr.sbin/etcupdate/etcupdate
--- a/usr.sbin/etcupdate/etcupdate      Thu Jun 12 13:31:47 2014 +0000
+++ b/usr.sbin/etcupdate/etcupdate      Thu Jun 12 13:33:43 2014 +0000
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $NetBSD: etcupdate,v 1.52 2014/06/12 13:31:47 apb Exp $
+# $NetBSD: etcupdate,v 1.53 2014/06/12 13:33:43 apb Exp $
 #
 # Copyright (c) 2001-2008 The NetBSD Foundation, Inc.
 # All rights reserved.
@@ -378,7 +378,7 @@
                        ;;
                esac
        done
-       rm -f "._etcupdate_${TEMPROOT}${1}"
+       rm -f "$B"
 }
 
 # Set the environment for make.



Home | Main Index | Thread Index | Old Index