aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files/files/bin/uci
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-03-24 13:42:55 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-03-24 13:42:55 +0000
commit4c7b45255b5bd109e32744ffb369d055c327008a (patch)
tree3103c08adef6b0a6d47963ebe6492e832422f973 /package/base-files/files/bin/uci
parentca098282b690acd9c34afecf367200d0a7fc1400 (diff)
downloadupstream-4c7b45255b5bd109e32744ffb369d055c327008a.tar.gz
upstream-4c7b45255b5bd109e32744ffb369d055c327008a.tar.bz2
upstream-4c7b45255b5bd109e32744ffb369d055c327008a.zip
fix uci commit
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6665 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files/files/bin/uci')
-rwxr-xr-xpackage/base-files/files/bin/uci2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/base-files/files/bin/uci b/package/base-files/files/bin/uci
index 4df8f33ff4..90098f014f 100755
--- a/package/base-files/files/bin/uci
+++ b/package/base-files/files/bin/uci
@@ -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
}