view build-aux/find-files-with-tests.sh @ 20128:e05fe4260252

Handle mouse interaction with image objects (bug #44691) * gl-select.h (opengl_selector::draw_image): new method * gl-select.cc (opengl_selector::draw_image): draw a GL_QUAD to indicate the image area in GL_SELECT mode
author Pantxo Diribarne <pantxo.diribarne@gmail.com>
date Thu, 16 Apr 2015 22:52:09 +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