public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: sys-apps/prefix-chain-utils/files/
@ 2017-03-23 14:53 Michael Haubenwallner
  0 siblings, 0 replies; only message in thread
From: Michael Haubenwallner @ 2017-03-23 14:53 UTC (permalink / raw
  To: gentoo-commits

commit:     c6ffc91f3abe228721479809585cb935dcc88f21
Author:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 23 14:53:37 2017 +0000
Commit:     Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Thu Mar 23 14:53:37 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6ffc91f

sys-apps/prefix-chain-utils: add Cygwin support

Package-Manager: Portage-2.3.5-prefix, Repoman-2.3.2

 sys-apps/prefix-chain-utils/files/prefix-chain-wrapper.in | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/sys-apps/prefix-chain-utils/files/prefix-chain-wrapper.in b/sys-apps/prefix-chain-utils/files/prefix-chain-wrapper.in
index f3439afa076..16a79b83680 100644
--- a/sys-apps/prefix-chain-utils/files/prefix-chain-wrapper.in
+++ b/sys-apps/prefix-chain-utils/files/prefix-chain-wrapper.in
@@ -1,5 +1,10 @@
 #!/usr/bin/env bash
 
+if [ -r /cygdrive/. ]; then
+	winpath2unix() { cygpath -u "$1"; }
+	unixpath2win() { cygpath -w "$1"; }
+fi
+
 link_dirs=()
 opts=()
 chost="@GENTOO_PORTAGE_CHOST@"


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2017-03-23 14:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-23 14:53 [gentoo-commits] repo/gentoo:master commit in: sys-apps/prefix-chain-utils/files/ Michael Haubenwallner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox