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
commitf3e31ff7ad128e0c8ec7d83c0394e10f8c3fdce9 (patch)
treef3b028ceb861a4d9da22a50a71b3dac88fd398b9 /package
parent6bc630098413f1ad718990a0026e8927f4d49c25 (diff)
downloadupstream-f3e31ff7ad128e0c8ec7d83c0394e10f8c3fdce9.tar.gz
upstream-f3e31ff7ad128e0c8ec7d83c0394e10f8c3fdce9.tar.bz2
upstream-f3e31ff7ad128e0c8ec7d83c0394e10f8c3fdce9.zip
base-files: fix conffiles entry check (patch from #2425)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17618 3c298f89-4303-0410-b956-a3cf2f4a3e73
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