view libtests/clean.sh @ 359:d72ff5d0292f gcc-4.3-cleanups

YET MORE CONST-CORRECTNESS. The pain and suffering involved is endless. However, these changes at least make all the stupid warnings about deprecated conversions go away. (I confess to a little bit of cargo-cult programming here; I can't keep in my brain the differences between const char*, char *const and const*const char all at once).
author mas01cr
date Wed, 12 Nov 2008 13:05:10 +0000
parents 94c18f128ce8
children cd63493c32a9
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