summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorrillig <rillig>2008-12-15 12:28:49 +0000
committerrillig <rillig>2008-12-15 12:28:49 +0000
commitbde0eeeba278b2c44e0c63de6e2839ff91973ae3 (patch)
tree2d72616ac5a4657ed17d53f3af98cdcf5c689554 /mk
parent095ff9ae7f92e4ff0b9062dfe4534aa9f6c3d206 (diff)
downloadpkgsrc-bde0eeeba278b2c44e0c63de6e2839ff91973ae3.tar.gz
Oops.
Diffstat (limited to 'mk')
-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.";; \