From 2b4ca3e3639e4e61e70dda52ad8da74a143789a1 Mon Sep 17 00:00:00 2001 From: nbd Date: Sat, 24 Mar 2007 13:42:55 +0000 Subject: fix uci commit git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6665 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/base-files/files/bin/uci | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'package/base-files/files') diff --git a/package/base-files/files/bin/uci b/package/base-files/files/bin/uci index 4df8f33ff..90098f014 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 } -- cgit v1.2.3