view libtests/clean.sh @ 618:365d3c500ef3

Michael Jewell went through this and noticed some semantic errors and he and I tidied up some of the definitions.
author mas02md
date Tue, 15 Sep 2009 09:15:28 +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