From 32454a4817f13876ce8cc615289779ef76f3070b Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 21 Jun 2000 05:03:36 +0000 Subject: [PATCH] * mkvers.sh: Fix sed usage for older seds. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/mkvers.sh | 5 +++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 8fdd68b68..aeae1872d 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +Wed Jun 21 01:02:38 2000 Christopher Faylor + + * mkvers.sh: Fix sed usage for older seds. + Tue Jun 20 20:46:28 2000 Christopher Faylor * Makefile.in: Don't touch winver_stamp if mkvers.sh was unsuccessful. diff --git a/winsup/cygwin/mkvers.sh b/winsup/cygwin/mkvers.sh index f7d71bef9..fd7cae6a3 100755 --- a/winsup/cygwin/mkvers.sh +++ b/winsup/cygwin/mkvers.sh @@ -111,8 +111,9 @@ fi # These strings are strictly for use by a user to scan the DLL for # interesting information. # -(sed -n -e 's%#define CYGWIN_\(INFO\|VERSION\)_\([A-Z_]*\)[ ][ ]*\([a-zA-Z0-9"][^/]*\).*%_\2\ -\3%p' $incfile | sed -e 's/["\\]//g' -e '/^_/y/ABCDEFGHIJKLMNOPQRSTUVWXYZ_/abcdefghijklmnopqrstuvwxyz /'; +(sed -n -e 's%#define CYGWIN_INFO_\([A-Z_]*\)[ ][ ]*\([a-zA-Z0-9"][^/]*\).*%_\1\ +\2%p' -e 's%#define CYGWIN_VERSION_\([A-Z_]*\)[ ][ ]*\([a-zA-Z0-9"][^/]*\).*%_\1\ +\2%p' $incfile | sed -e 's/["\\]//g' -e '/^_/y/ABCDEFGHIJKLMNOPQRSTUVWXYZ_/abcdefghijklmnopqrstuvwxyz /'; echo ' build date'; echo $build_date; [ -n "$cvs_tag" ] && echo "$cvs_tag";\ [ -n "$snapshot" ] && echo "$snapshot" ) | while read var; do