view build-aux/find-files-with-tests.sh @ 20598:ea6a1c00763a

fix interpolation bug introduced with 87b557ee8e5d * ode_rk_interpolate.m(hermite_quartic_interpolation): fix typo that lead to incorrect size for interpolated values.
author Carlo de Falco <carlo.defalco@polimi.it>
date Tue, 06 Oct 2015 22:14:41 +0200
parents 43e6415393ff
children
line wrap: on
line source

#! /bin/sh

set -e
GREP=${GREP:-grep}
SED=${SED:-sed}

srcdir="$1"
shift

for arg
do
  if [ -f "$arg" ]; then
    file="$arg"
  else
    file="$srcdir/$arg"
  fi
  if [ "`$GREP -l '^%!' $file`" ]; then
    echo "$file" | $SED "s,\\$srcdir/,,";
  fi
done