summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig>2006-02-02 21:15:46 +0000
committerrillig <rillig>2006-02-02 21:15:46 +0000
commit69504d979a5124da296b37bd343339c4ba3e8022 (patch)
tree8cd8e13d12d9155b003b2c530be6116e3fb3981a /mk
parent6c29e6f1e6039f9a5a9724f8e3a4aa1c14ad6146 (diff)
downloadpkgsrc-69504d979a5124da296b37bd343339c4ba3e8022.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.mk4
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