summaryrefslogtreecommitdiff
path: root/mk/check
diff options
context:
space:
mode:
authorheinz <heinz>2007-03-24 18:12:08 +0000
committerheinz <heinz>2007-03-24 18:12:08 +0000
commit01142478b8527384d37184b873f5c568bd53a25b (patch)
treef0616ea9972587a39d7c5e4e5dab0d589c6706fe /mk/check
parent46f548cf825f113d04108c1f5f32eb1143dc603f (diff)
downloadpkgsrc-01142478b8527384d37184b873f5c568bd53a25b.tar.gz
More DESTDIR fixes in warnng/error messages
Diffstat (limited to 'mk/check')
-rw-r--r--mk/check/check-interpreter.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/mk/check/check-interpreter.mk b/mk/check/check-interpreter.mk
index bf4802fde55..df922e4e756 100644
--- a/mk/check/check-interpreter.mk
+++ b/mk/check/check-interpreter.mk
@@ -1,4 +1,4 @@
-# $NetBSD: check-interpreter.mk,v 1.18 2007/03/24 18:03:09 heinz Exp $
+# $NetBSD: check-interpreter.mk,v 1.19 2007/03/24 18:12:08 heinz Exp $
#
# This file checks that after installation, all files of the package
# that start with a "#!" line will find their interpreter. Files that
@@ -48,12 +48,12 @@ _check-interpreter: error-check .PHONY
*) ;; \
esac; \
if [ ! -r "$$file" ]; then \
- ${DELAYED_WARNING_MSG} "[check-interpreter.mk] File \"$$file\" cannot be read."; \
+ ${DELAYED_WARNING_MSG} "[check-interpreter.mk] File \"${DESTDIR}${PREFIX}/$$file\" cannot be read."; \
continue; \
fi; \
${SHCOMMENT} "[$$file]"; \
interp=`${SED} -n -e '1s/^#![[:space:]]*\([^[:space:]]*\).*/\1/p' -e '1q' < "$$file"` \
- || { ${DELAYED_WARNING_MSG} "[check-interpreter.mk] sed(1) failed for \"$$file\"."; \
+ || { ${DELAYED_WARNING_MSG} "[check-interpreter.mk] sed(1) failed for \"${DESTDIR}${PREFIX}/$$file\"."; \
continue; \
}; \
case "$$interp" in \
@@ -61,9 +61,9 @@ _check-interpreter: error-check .PHONY
esac; \
if [ ! -f "$$interp" ]; then \
if [ -x "$$file" ]; then \
- ${DELAYED_ERROR_MSG} "[check-interpreter.mk] The interpreter \"$$interp\" of \"$$file\" does not exist."; \
+ ${DELAYED_ERROR_MSG} "[check-interpreter.mk] The interpreter \"$$interp\" of \"${DESTDIR}${PREFIX}/$$file\" does not exist."; \
else \
- ${DELAYED_WARNING_MSG} "[check-interpreter.mk] The interpreter \"$$interp\" of \"$$file\" does not exist."; \
+ ${DELAYED_WARNING_MSG} "[check-interpreter.mk] The interpreter \"$$interp\" of \"${DESTDIR}${PREFIX}/$$file\" does not exist."; \
fi; \
fi; \
done