aboutsummaryrefslogtreecommitdiffstats
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
commitc76cdd578157cdf9a218c88614dd8c3beb2df576 (patch)
tree0cf99d08f270ee10e4516f275478d34b5fa0fc85
parentea952312aeac15b17c68e7106457917ec19eb547 (diff)
downloadupstream-c76cdd578157cdf9a218c88614dd8c3beb2df576.tar.gz
upstream-c76cdd578157cdf9a218c88614dd8c3beb2df576.tar.bz2
upstream-c76cdd578157cdf9a218c88614dd8c3beb2df576.zip
fix uci commit
SVN-Revision: 6665
-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
}