From 481d189d495f90ff1f01cf5b526d3d98eaca2948 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 21 Jan 2007 20:07:08 +0000 Subject: [PATCH] Fix test whether sed is GNU sed supporting --posix. --- ChangeLog | 4 ++++ gnulib-tool | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 108f289281..73b8a7875e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-01-21 Bruno Haible + + * gnulib-tool: Fix test whether sed is GNU sed supporting --posix. + 2007-01-20 Jim Meyering * lib/userspec.c (parse_with_separator): If a user or group string diff --git a/gnulib-tool b/gnulib-tool index 7fe55f08e5..547e29a576 100755 --- a/gnulib-tool +++ b/gnulib-tool @@ -22,7 +22,7 @@ progname=$0 package=gnulib -cvsdatestamp='$Date: 2007-01-17 23:46:34 $' +cvsdatestamp='$Date: 2007-01-21 20:07:09 $' last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'` version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'` nl=' @@ -71,7 +71,7 @@ fi # However, do this only for gnulib-tool itself, not for the code that # gnulib-tool generates, since we don't want "sed --posix" to leak # into makefiles. -if (alias) > /dev/null 2>&1 && echo | sed --posix d >/dev/null 2>&1; then +if (alias) > /dev/null 2>&1 && echo | sed --posix -e d >/dev/null 2>&1; then alias sed='sed --posix' fi -- 2.30.2