Mercurial > hg > octave-nkf
view build-aux/find-files-with-tests.sh @ 20080:ed5ee3f610db
Correct tests using std::string::find_XXX which did not use std::string::npos.
* symtab.cc (find_function): For old-style class syntax, avoid setting
method == dispatch if there is no dir_sep_str.
* __osmesa_print__.cc: Correctly check for pipe command versus filename.
* audioread.cc: Correctly find extension of file after '.'.
author | Rik <rik@octave.org> |
---|---|
date | Fri, 27 Feb 2015 09:31:11 -0800 |
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