Mercurial > hg > audiodb
view tests/clean.sh @ 165:324699d56429
Even more defensive command-line checking:
Make gengetopt generate code that doesn't exit on error, so that the
careful calls to error() as appropriate in audioDB.cpp actually stand a
chance of working.
author | mas01cr |
---|---|
date | Tue, 06 Nov 2007 10:52:32 +0000 |
parents | 1853beeb0521 |
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* if [ -f ${file}/clean.sh ]; then (cd ${file} && sh ./clean.sh) fi fi done