1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-12-25 02:48:37 +02:00

fix uci commit

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6665 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
nbd 2007-03-24 13:42:55 +00:00
parent d43a50cb60
commit 2b4ca3e363

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
}