diff options
author | 2017-03-23 15:53:37 +0100 | |
---|---|---|
committer | 2017-03-23 15:53:37 +0100 | |
commit | c6ffc91f3abe228721479809585cb935dcc88f21 (patch) | |
tree | 4242242a4978ebc7be563b2d9491e45be9adbcc3 /sys-apps | |
parent | sys-devel/automake: add Prefix keywords (diff) | |
download | gentoo-c6ffc91f3abe228721479809585cb935dcc88f21.tar.gz gentoo-c6ffc91f3abe228721479809585cb935dcc88f21.tar.bz2 gentoo-c6ffc91f3abe228721479809585cb935dcc88f21.zip |
sys-apps/prefix-chain-utils: add Cygwin support
Package-Manager: Portage-2.3.5-prefix, Repoman-2.3.2
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/prefix-chain-utils/files/prefix-chain-wrapper.in | 5 |
1 files changed, 5 insertions, 0 deletions
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 f3439afa076a..16a79b836800 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@" |