diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2011-02-04 14:24:48 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2011-02-04 14:24:48 +0100 |
commit | d61b82a6920ff6c499bafb3579733b18177f2fa0 (patch) | |
tree | 721c30ea82363c90cb0c378c4ed0aa6ad9890e84 /package/cfgfs/src | |
parent | 6640e958d8ae1176ff84c6d33365557257035e9c (diff) | |
parent | d447483f8e4300fb954faf26675e8984231facdd (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/cfgfs/src')
-rw-r--r-- | package/cfgfs/src/fwcf.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/package/cfgfs/src/fwcf.sh b/package/cfgfs/src/fwcf.sh index ddcbfcc50..b37da0bcd 100644 --- a/package/cfgfs/src/fwcf.sh +++ b/package/cfgfs/src/fwcf.sh @@ -257,7 +257,6 @@ if test $1 = commit; then cfgfs.helper -Z - /tmp/.cfgfs/status.asz cd /tmp/.cfgfs/root rm -f /tmp/.cfgfs/temp/.cfgfs_* /tmp/.cfgfs/temp/.rnd - find /tmp/.cfgfs/temp -type d -empty -delete find . -type f | while read f; do f=${f#./} if [[ ! -e /tmp/.cfgfs/temp/$f ]]; then @@ -269,6 +268,7 @@ if test $1 = commit; then y=$(cd ../temp; md5sum "$f" 2>/dev/null) [[ "$x" = "$y" ]] && rm "../temp/$f" done + find /tmp/.cfgfs/temp -type d -empty -delete rv=0 if [ $mtd -eq 1 ]; then if ! ( cfgfs.helper -M /tmp/.cfgfs/temp | eval $mtdtool -F write - cfgfs ); then |