aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2009-09-19 23:04:34 +0000
committerFelix Fietkau <nbd@openwrt.org>2009-09-19 23:04:34 +0000
commitca300a2f07ab1af6c838493898cb1ac839244bae (patch)
tree1d0df47074b060081a259b960b5bad356b93d938 /package
parent997d4fb0131ca6aba5b729c1a8b0c694fcd35b5b (diff)
downloadupstream-ca300a2f07ab1af6c838493898cb1ac839244bae.tar.gz
upstream-ca300a2f07ab1af6c838493898cb1ac839244bae.tar.bz2
upstream-ca300a2f07ab1af6c838493898cb1ac839244bae.zip
base-files: fix conffiles entry check (patch from #2425)
SVN-Revision: 17618
Diffstat (limited to 'package')
-rw-r--r--package/base-files/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 6995601a28..15920d52b6 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -194,7 +194,7 @@ define Package/base-files/install
$(call Package/base-files/install-target,$(1))
for conffile in $(1)/etc/config/*; do \
if [ -f "$$$$conffile" ]; then \
- grep "$$$$conffile" $(1)/CONTROL/conffiles || \
+ grep "$$$${conffile##$(1)}" $(1)/CONTROL/conffiles || \
echo "$$$${conffile##$(1)}" >> $(1)/CONTROL/conffiles; \
fi \
done