Mercurial > octave
view build-aux/find-files-with-tests.sh @ 21227:25150962bfd3
eliminate CRUFT_API macro
* oct-conf-post.in.h (CRUFT_API): Delete definition.
* f77-fcn.h, lo-error.h, quit.h: Use OCTAVE_API instead of CRUFT_API.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Mon, 08 Feb 2016 20:40:55 -0500 |
parents | 43e6415393ff |
children | 3b4bb843ffcd |
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