diff options
author | obache <obache> | 2013-02-23 05:47:59 +0000 |
---|---|---|
committer | obache <obache> | 2013-02-23 05:47:59 +0000 |
commit | fb5a81333dcfe037ae155443570b17220359851e (patch) | |
tree | f06f254645d6983676d933b5a5533b8ee2bfe247 /pkgtools/osabi | |
parent | 436847753c035d2a8ddad4f4831bcded5511cdb7 (diff) | |
download | pkgsrc-fb5a81333dcfe037ae155443570b17220359851e.tar.gz |
normalize OS_VERSION for Cygwin, same as in mk/bsd.prefe.mk.
Diffstat (limited to 'pkgtools/osabi')
-rw-r--r-- | pkgtools/osabi/INSTALL | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgtools/osabi/INSTALL b/pkgtools/osabi/INSTALL index 485a1202580..4f3bf334329 100644 --- a/pkgtools/osabi/INSTALL +++ b/pkgtools/osabi/INSTALL @@ -1,4 +1,4 @@ -# $NetBSD: INSTALL,v 1.2 2011/02/05 13:21:13 obache Exp $ +# $NetBSD: INSTALL,v 1.3 2013/02/23 05:47:59 obache Exp $ UNAME="@UNAME@" case ${STAGE} in @@ -25,6 +25,9 @@ PRE-INSTALL) HPUX) OS_VERSION=`echo "${OS_VERSION}" | sed -e's/^B.//'` ;; + CYGWIN_*) + OS_VERSION=`echo "${OS_VERSION}" | sed -e's/(.*)//'` + ;; esac if ${TEST} "${OS_VERSION}" != "${PKG_VERSION}" ;then |