summaryrefslogtreecommitdiff
path: root/mk/check
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2008-12-15 12:28:49 +0000
committerrillig <rillig@pkgsrc.org>2008-12-15 12:28:49 +0000
commitc448324760919dd8d89bcb07469572ad72236b06 (patch)
tree2d72616ac5a4657ed17d53f3af98cdcf5c689554 /mk/check
parentf854a0b9050a8c3e7d24eb8e6ed616debe1a78f7 (diff)
downloadpkgsrc-c448324760919dd8d89bcb07469572ad72236b06.tar.gz
Oops.
Diffstat (limited to 'mk/check')
-rw-r--r--mk/check/check-stripped.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/check/check-stripped.mk b/mk/check/check-stripped.mk
index 6caa5d50e38..4389c2e9e17 100644
--- a/mk/check/check-stripped.mk
+++ b/mk/check/check-stripped.mk
@@ -1,4 +1,4 @@
-# $NetBSD: check-stripped.mk,v 1.2 2008/12/15 11:03:49 rillig Exp $
+# $NetBSD: check-stripped.mk,v 1.3 2008/12/15 12:28:49 rillig Exp $
#
# This file checks that after installation, all binaries conform to the
# setting of INSTALL_UNSTRIPPED.
@@ -49,7 +49,7 @@ _check-stripped: error-check .PHONY
${DELAYED_WARNING_MSG} "[check-stripped.mk] File \"$$dpfile\" cannot be read."; \
continue; \
fi; \
- ftype=`LC_ALL=C ${FILE_CMD} ./$$dpfile`; \
+ ftype=`LC_ALL=C ${FILE_CMD} $$dpfile`; \
case $$want_stripped,$$ftype in \
yes,*:*\ ELF\ *,\ not\ stripped*) ${DELAYED_ERROR_MSG} "[check-stripped.mk] $$dpfile should be stripped, but is not.";; \
no,*:*\ ELF\ *,\ stripped*) ${DELAYED_ERROR_MSG} "[check-stripped.mk] $$dpfile should NOT be stripped, but it is.";; \