Mercurial > hg > audiodb
view tests/clean.sh @ 590:4eedc18634f5
Use _locking() to emulate fcntl() locks
This is a rather terrible emulation; _locking() doesn't support
nonexclusive locks, and also doesn't document any useful return codes.
Oh well; it's a start.
author | mas01cr |
---|---|
date | Tue, 11 Aug 2009 21:42:18 +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