base-files: fix conffiles entry check (patch from #2425)

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17618 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2009-09-19 23:04:34 +00:00
parent 6bc6300984
commit f3e31ff7ad
1 changed files with 1 additions and 1 deletions

View File

@ -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