view tests/clean.sh @ 617:5240e74a0607

added an escape around ldconfig for darwin systems (macosx) in the install as ldconfig doesn't exist on these systems and as near as I can tell it's functionality isn't necessary when building dylibs, at least as used here.
author map01bf
date Mon, 14 Sep 2009 16:06:02 +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