public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: "Pavel Fedin" <p.fedin@samsung.com>
To: "'Federico Kircheis'" <federico.kircheis@gmail.com>, <cygwin@cygwin.com>
Subject: RE: cygport and C:\Windows\system32\tar.exe
Date: Mon, 01 Jul 2019 10:43:00 -0000	[thread overview]
Message-ID: <005501d52ff9$be8ef620$3bace260$@samsung.com> (raw)
In-Reply-To: <bae0be8b-310d-e187-e8f7-f08d3495ce1c@gmail.com>

 This is solved by proper order of directories in your $PATH. Cygwin's /bin, /usr/bin, /usr/local/bin always come in front.
 You seem to have no Cygwin tar installed, hence the search continues down to native Windows one.

Kind regards,
Pavel Fedin
Senior Engineer
Samsung Electronics Research center Russia


> -----Original Message-----
> From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf Of Federico
> Kircheis
> Sent: Sunday, June 30, 2019 8:38 AM
> To: cygwin@cygwin.com
> Subject: cygport and C:\Windows\system32\tar.exe
> 
> Hello,
> 
> I'm working on Windows 10 freshly installed, installed cygwin too, and
> noticed that tar did not work on absolute files.
> 
> Apparently there is a tar.exe from Microsoft in system32.
> https://devblogs.microsoft.com/commandline/tar-and-curl-come-to-windows/
> 
> My problem is that cyport tries to invoke tar with an absolute file, and
> of course C:\Windows\system32\tar.exe does not understand a path that
> begins with `/cygdrive/c`.
> 
> How do you generally solve that problem?
> 
> 
> Thanks in advance


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

      parent reply	other threads:[~2019-07-01 10:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <CGME20190630053803epcas5p1a61a06ab1cf93b94e3342bf69761f15e@epcas5p1.samsung.com>
2019-06-30  5:37 ` Federico Kircheis
2019-06-30  7:01   ` Hans-Bernhard Bröker
2019-06-30  7:24     ` Federico Kircheis
2019-06-30  8:20       ` Andrey Repin
2019-07-01 10:43   ` Pavel Fedin [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='005501d52ff9$be8ef620$3bace260$@samsung.com' \
    --to=p.fedin@samsung.com \
    --cc=cygwin@cygwin.com \
    --cc=federico.kircheis@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).