fix uci commit

SVN-Revision: 6665
This commit is contained in:
Felix Fietkau 2007-03-24 13:42:55 +00:00
parent ea952312ae
commit c76cdd5781

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
}