From: Bruno Haible Date: Fri, 15 Mar 2002 17:07:58 +0000 (+0000) Subject: Prefer sed to head. X-Git-Tag: 0.11.2-branchpoint~29 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a756fd1279b18e3e12aaf3b59d6c00e095ce113;p=thirdparty%2Fgettext.git Prefer sed to head. --- diff --git a/misc/ChangeLog b/misc/ChangeLog index 787d7188b..9a6d1c44d 100644 --- a/misc/ChangeLog +++ b/misc/ChangeLog @@ -1,3 +1,9 @@ +2002-03-15 Bruno Haible + + * gettextize.in: Use "sed -e 1q" instead of "head -1", for compliance + to pure naked POSIX 1003.1-2001 environments. + From Paul Eggert. + 2002-03-14 Karl Eichwalder * po-mode.el (po-team-name-to-code): Add es_AR, zh_CN, and zh_TW. diff --git a/misc/gettextize.in b/misc/gettextize.in index 1b74d1b96..05e284796 100644 --- a/misc/gettextize.in +++ b/misc/gettextize.in @@ -200,7 +200,7 @@ for file in *; do { $echo "Copying file $file"; cp $file $srcdir/$file; } ;; config.rpath) - auxdir=`cat $srcdir/$configure_in | grep '^AC_CONFIG_AUX_DIR' | sed -n -e 's/AC_CONFIG_AUX_DIR(\([^()]*\))/\1/p' | sed -e 's/^\[\(.*\)\]$/\1/' | head -1` + auxdir=`cat $srcdir/$configure_in | grep '^AC_CONFIG_AUX_DIR' | sed -n -e 's/AC_CONFIG_AUX_DIR(\([^()]*\))/\1/p' | sed -e 's/^\[\(.*\)\]$/\1/' | sed -e 1q` if test -n "$auxdir"; then auxdir="$auxdir/" fi