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>2001-09-11 19:25:08 +0400
committerChristopher Faylor <me@cgf.cx>2001-09-11 19:25:08 +0400
commitdbc82a87a31073b0dbcec8a162f0afc994940b5c (patch)
tree7fb9132cde3d941759e65889bc5fcbfd52213c2b /winsup/cygwin/mkvers.sh
parent24b1ccc647ca9830c51521583b527f67540a9ee2 (diff)
* cygwin.din: Remove cygwin_getshared.
* shared.cc: Ditto. * include/cygwin/version.h: Bump API minor number. * dtable.cc (dtable::build_fhandler): Fix incorrect test for socket.
Diffstat (limited to 'winsup/cygwin/mkvers.sh')
-rwxr-xr-xwinsup/cygwin/mkvers.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/winsup/cygwin/mkvers.sh b/winsup/cygwin/mkvers.sh
index 421ca5bf2..5a859f4f0 100755
--- a/winsup/cygwin/mkvers.sh
+++ b/winsup/cygwin/mkvers.sh
@@ -92,10 +92,12 @@ wv_cvs_tag="$cvs_tag"
#
# Look in the source directory containing the include/cygwin/version.h
-# file for a ".snapshot-date" file. If one is found then this information
-# will be saved for output to the DLL.
-#
+# and set dir accordingly.
dir=`echo $dir | sed -e 's%/include/cygwin.*$%%' -e 's%include/cygwin.*$%.%'`
+
+# Look in $dir for a a ".snapshot-date" file. If one is found then this
+# information will be saved for output to the DLL.
+#
if [ -r "$dir/.snapshot-date" ]; then
read snapshotdate < "$dir/.snapshot-date"
snapshot="snapshot date