Mercurial > gnulib
changeset 4717:ed7cd4050365
Port gnulib-tool to Solaris 8.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Wed, 17 Sep 2003 18:30:23 +0000 |
parents | da9adb0ac598 |
children | bef5218f3bbe |
files | ChangeLog gnulib-tool |
diffstat | 2 files changed, 17 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Wed Sep 17 12:46:33 2003 +0000 +++ b/ChangeLog Wed Sep 17 18:30:23 2003 +0000 @@ -1,3 +1,11 @@ +2003-09-17 Paul Eggert <eggert@twinsun.com> + + * gnulib-tool: Use "test -h", not "test -L", for portability + to Solaris 8 /bin/sh. (This bug is fixed in Solaris 9.) + (tags_regexp): Remove, since \| doesn't conform to POSIX. + (sed_extract_prog): Issue s commands one-by-one, rather than + using \| in one s command. + 2003-09-16 Bruno Haible <bruno@clisp.org> * gnulib-tool (func_create_testdir): Warn about duplicated
--- a/gnulib-tool Wed Sep 17 12:46:33 2003 +0000 +++ b/gnulib-tool Wed Sep 17 18:30:23 2003 +0000 @@ -22,7 +22,7 @@ progname=$0 package=gnulib -cvsdatestamp='$Date: 2003-09-16 14:53:35 $' +cvsdatestamp='$Date: 2003-09-17 18:30:23 $' last_checkin_date=`echo "$cvsdatestamp" | sed -e 's,^\$[D]ate: ,,'` version=`echo "$last_checkin_date" | sed -e 's/ .*$//' -e 's,/,-,g'` @@ -197,7 +197,7 @@ fi ;; esac -while test -L "$self_abspathname"; do +while test -h "$self_abspathname"; do # Resolve symbolic link. sedexpr1='s, -> ,#%%#,' sedexpr2='s,^.*#%%#\(.*\)$,\1,p' @@ -231,11 +231,16 @@ fi } -tags_regexp='\(Description\|Files\|Depends-on\|configure\.ac\|Makefile\.am\|Include\|Maintainer\)' sed_extract_prog=':[ ]*$/ { :a n - s/^'"$tags_regexp"':[ ]*$// + s/^Description:[ ]*$// + s/^Files:[ ]*$// + s/^Depends-on:[ ]*$// + s/^configure\.ac:[ ]*$// + s/^Makefile\.am:[ ]*$// + s/^Include:[ ]*$// + s/^Maintainer:[ ]*$// tb p ba