Mercurial > octave-antonio
view build-aux/find-files-with-tests.sh @ 20124:6ee26f894346
Add tests for bug #38821 which got fixed with cset 058e45de41cs
author | Carnë Draug <carandraug@octave.org> |
---|---|
date | Tue, 21 Apr 2015 15:37:10 +0100 |
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