--- build-aux/find-files-with-tests.sh.orig 2014-01-20 20:35:29.000000000 -0700
+++ build-aux/find-files-with-tests.sh 2014-01-20 20:36:30.000000000 -0700
@@ -2,7 +2,7 @@
set -e
GREP=${GREP:-grep}
-SED=${SED:-sed}
+SED=gsed
srcdir="$1"
shift
--- libinterp/find-defun-files.sh.orig 2014-01-20 20:08:01.000000000 -0700
+++ libinterp/find-defun-files.sh 2014-01-20 20:08:20.000000000 -0700
@@ -1,7 +1,7 @@
#! /bin/sh
set -e
-SED=${SED:-sed}
+SED=gsed
EGREP=${EGREP:-egrep}
# Some stupid egreps don't like empty elements in alternation patterns,
--- libinterp/mk-pkg-add.orig 2014-01-20 20:04:33.000000000 -0700
+++ libinterp/mk-pkg-add 2014-01-20 20:05:01.000000000 -0700
@@ -20,7 +20,7 @@
set -e
-SED=${SED:-'sed'}
+SED=gsed
for f in "$@"; do
if [ -f $f ]; then
--- libinterp/mkbuiltins.orig 2014-01-20 19:17:57.000000000 -0700
+++ libinterp/mkbuiltins 2014-01-20 19:18:24.000000000 -0700
@@ -23,7 +23,7 @@
exit 1
fi
-SED=${SED:-'sed'}
+SED=gsed
make_header=false
make_source=false
--- libinterp/mkdefs.orig 2014-01-20 20:17:00.000000000 -0700
+++ libinterp/mkdefs 2014-01-20 20:17:15.000000000 -0700
@@ -18,7 +18,7 @@
# along with Octave; see the file COPYING. If not, see
# .
-SED=${SED:-'sed'}
+SED=gsed
if [ $# -ne 2 ]; then
echo "usage: mkdefs srcdir file < preprocessed-file-contents" 1>&2
--- libinterp/mkops.orig 2014-01-20 20:26:24.000000000 -0700
+++ libinterp/mkops 2014-01-20 20:26:50.000000000 -0700
@@ -18,7 +18,7 @@
# along with Octave; see the file COPYING. If not, see
# .
-SED=${SED:-'sed'}
+SED=gsed
cat << \EOF
// DO NOT EDIT! Generated automatically by mkops.
--- liboctave/cruft/mkf77def.in.orig 2014-01-20 05:27:13.000000000 -0700
+++ liboctave/cruft/mkf77def.in 2014-01-20 05:27:28.000000000 -0700
@@ -18,7 +18,7 @@
# along with Octave; see the file COPYING. If not, see
# .
-SED=${SED:-'sed'}
+SED=gsed
AWK=${AWK:-'awk'}
F77_TOLOWER="@F77_APPEND_UNDERSCORE@"
--- scripts/mk-pkg-add.orig 2014-01-20 20:30:14.000000000 -0700
+++ scripts/mk-pkg-add 2014-01-20 20:30:36.000000000 -0700
@@ -24,7 +24,7 @@
set -e
-SED=${SED:-'sed'}
+SED=gsed
prefix="$1/"
shift