pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/mk If the replace-interpreter program cannot find a fi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c99cada0b1ad
branches:  trunk
changeset: 507479:c99cada0b1ad
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Thu Feb 02 21:15:46 2006 +0000

description:
If the replace-interpreter program cannot find a file, a warning is
printed.

diffstat:

 mk/bsd.pkg.mk |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 0686562314f0 -r c99cada0b1ad mk/bsd.pkg.mk
--- a/mk/bsd.pkg.mk     Thu Feb 02 21:08:11 2006 +0000
+++ b/mk/bsd.pkg.mk     Thu Feb 02 21:15:46 2006 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: bsd.pkg.mk,v 1.1797 2006/01/21 21:32:51 jlam Exp $
+#      $NetBSD: bsd.pkg.mk,v 1.1798 2006/02/02 21:15:46 rillig Exp $
 #
 # This file is in the public domain.
 #
@@ -1522,6 +1522,8 @@
                            ${CHMOD} a+x $${f}.new;                     \
                    fi;                                                 \
                    ${MV} -f $${f}.new $${f};                           \
+           else                                                        \
+               ${ECHO_MSG} "[bsd.pkg.mk:replace-interpreter] WARNING: Skipping non-existent file \"$$f\"." 1>&2; \
            fi;                                                         \
        done
 .    endfor



Home | Main Index | Thread Index | Old Index