Mercurial > hg > octave-nkf
changeset 16023:98fc95793699
missing file for commit 5b2126a8c84f
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Fri, 08 Feb 2013 21:52:09 -0500 |
parents | d8f216d241cf |
children | 98f90d4dca20 |
files | build-aux/find-files-with-tests.sh test/classes/module.mk |
diffstat | 2 files changed, 19 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
new file mode 100755 --- /dev/null +++ b/build-aux/find-files-with-tests.sh @@ -0,0 +1,19 @@ +#! /bin/sh + +set -e +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