diff options
author | heinz <heinz@pkgsrc.org> | 2007-03-24 18:12:08 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2007-03-24 18:12:08 +0000 |
commit | 97dc1cac217500c5e5866766e3fb8f399a3f0ff8 (patch) | |
tree | f0616ea9972587a39d7c5e4e5dab0d589c6706fe /mk | |
parent | 6669c3977ccb29fae42d1764cab6b9ed961edc75 (diff) | |
download | pkgsrc-97dc1cac217500c5e5866766e3fb8f399a3f0ff8.tar.gz |
More DESTDIR fixes in warnng/error messages
Diffstat (limited to 'mk')
-rw-r--r-- | mk/check/check-interpreter.mk | 10 |
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 |