Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-06-21 09:03:36 +0400
committerChristopher Faylor <me@cgf.cx>2000-06-21 09:03:36 +0400
commit32454a4817f13876ce8cc615289779ef76f3070b (patch)
tree346a63f79b45ef1ff83520f42c7e1cc2ddc1a54e /winsup/cygwin/mkvers.sh
parentfb84fe4cbb072191cc99c575e5a8ff7c60017e02 (diff)
* mkvers.sh: Fix sed usage for older seds.
Diffstat (limited to 'winsup/cygwin/mkvers.sh')
-rwxr-xr-xwinsup/cygwin/mkvers.sh5
1 files changed, 3 insertions, 2 deletions
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