pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk/install Fix typo in previous (should have ended the...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/143b993893fc
branches:  trunk
changeset: 489014:143b993893fc
user:      tv <tv%pkgsrc.org@localhost>
date:      Mon Feb 14 16:31:41 2005 +0000

description:
Fix typo in previous (should have ended the line with &&).

diffstat:

 mk/install/files |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 3def616361e1 -r 143b993893fc mk/install/files
--- a/mk/install/files  Mon Feb 14 16:30:35 2005 +0000
+++ b/mk/install/files  Mon Feb 14 16:31:41 2005 +0000
@@ -1,6 +1,6 @@
 #!@SH@
 #
-# $NetBSD: files,v 1.2 2005/02/14 16:30:35 tv Exp $
+# $NetBSD: files,v 1.3 2005/02/14 16:31:41 tv Exp $
 #
 # +FILES - reference-counted configuration file management script
 #
@@ -162,7 +162,7 @@
                        "")
                                if ${TEST} -f "$preexist"; then
                                        :
-                               elif ${TEST} -f "$file" -a -f "$f_eg" -a \
+                               elif ${TEST} -f "$file" -a -f "$f_eg" && \
                                             ${CMP} -s "$file" "$f_eg"; then
                                        ${RM} -f "$file"
                                fi



Home | Main Index | Thread Index | Old Index