Mercurial > octave-nkf
view build-aux/find-files-with-tests.sh @ 19637:b74ae93040e8
limit number of jobs for make command to 1 under windows (bug #44053)
* scripts/pkg/private/configure_make.m: set jobs as 1 in pc,
nproc ("overridable") if not pc
author | Avinoam Kalma |
---|---|
date | Wed, 21 Jan 2015 21:19:38 -0500 |
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