fix uci commit

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6665 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2007-03-24 13:42:55 +00:00
parent ca098282b6
commit 4c7b45255b
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ do_remove() {
do_commit() {
local PACKAGE="$1"
for package in ${PACKAGE:-$(cd /tmp/.uci; ls)}; do
[ "${package##.*}" != "$package" ] && continue # ignore .lock files
[ lock = "${package##*.}" ] && continue # ignore .lock files
uci_commit "$package"
done
}