Mercurial > hg > audiodb
view libtests/clean.sh @ 593:70acfcb5010a
Remove mmap() from l2norm.cpp
We use instead a similarly bad method for dealing with l2norming when
there's already data in the database: malloc() a buffer the size of the
data. This will likely fail in even more cases than the previous
mmap()-the-buffer strategy.
author | mas01cr |
---|---|
date | Tue, 11 Aug 2009 21:42:34 +0000 |
parents | cd63493c32a9 |
children |
line wrap: on
line source
#! /bin/sh for file in [0-9][0-9][0-9][0-9]*; do if [ -d ${file} ]; then echo Cleaning ${file} rm -f ${file}/test* (cd ${file} && make -f ../libtest.mk clean >/dev/null 2>&1) if [ -f ${file}/clean.sh ]; then (cd ${file} && sh ./clean.sh) fi fi done