]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Prefer sed to head.
authorBruno Haible <bruno@clisp.org>
Fri, 15 Mar 2002 17:07:58 +0000 (17:07 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:07:51 +0000 (12:07 +0200)
misc/ChangeLog
misc/gettextize.in

index 787d7188bf2b9b96561ee8e9fec83f54ad64f0c3..9a6d1c44df4ea58d3dbdb433adab5e50879d80d7 100644 (file)
@@ -1,3 +1,9 @@
+2002-03-15  Bruno Haible  <bruno@clisp.org>
+
+       * 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  <ke@suse.de>
 
        * po-mode.el (po-team-name-to-code): Add es_AR, zh_CN, and zh_TW.
index 1b74d1b96d7ce24bb1a13ca694a71546b34ea686..05e284796bef6da09107962af708877cd2c1e848 100644 (file)
@@ -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