Mercurial > octave-nkf
view build-aux/find-files-with-tests.sh @ 20538:0829b6ff3ac9 stable
Use backslash as windows file separator for canonicalize_file_name (Bug #45816).
* file-ops.cc (octave_canonicalize_file_name): call std::replace to change all
'/' to '\' on Windows platforms.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 02 Sep 2015 12:19:48 -0700 |
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