diff options
author | rillig <rillig@pkgsrc.org> | 2006-02-02 21:15:46 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-02-02 21:15:46 +0000 |
commit | 19488e75a41d41bcef78163f65d6fce272a9a071 (patch) | |
tree | 8cd8e13d12d9155b003b2c530be6116e3fb3981a /mk | |
parent | fc388644bf247d5d003efd0e8c6d3335537ccd2e (diff) | |
download | pkgsrc-19488e75a41d41bcef78163f65d6fce272a9a071.tar.gz |
If the replace-interpreter program cannot find a file, a warning is
printed.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 27e5a3b5a68..cda6a8194ff 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -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 @@ replace-interpreter: ${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 |