delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/09/06/10:39:02

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: "Jon Mountjoy" <mountjoy AT netcomuk DOT co DOT uk>
To: <cygwin AT sourceware DOT cygnus DOT com>
Subject: tar -C dir option makes dir relative to current dir
Date: Wed, 6 Sep 2000 15:38:09 +0100
Message-ID: <MKEJLHEPDHCBAIHOJLBFOEKJCCAA.mountjoy@netcomuk.co.uk>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0)
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
Importance: Normal
X-OriginalArrivalTime: 06 Sep 2000 14:38:09.0606 (UTC) FILETIME=[13BCD660:01C01810]

Hi All,

I have read all docs and couldn't solve my problem.  In a make file I have:
 cd foo && tar blah blah | tar -C j:/foobar

Now I run the make file from the l: drive (so l:/foo exists).

The problem is that when the tar on the right gets run, it tries to place
the files in the directory:
  /cygdrive/l/foo/j:/foobar
which of course isn't a valid directory.

I know I can solve it by not going over another filesystem, but that isn't
ideal.

Any ideas?  (I am running latest net release on W2K.  l: and j: are mapped
drives.  I also tried mounting them, didn't solve a thing. WinNT Ver 5.0
build 2195,
Cygwin DLL version i   dll major: 1001     dll minor: 4    dll epoch: 19)

Regards,
Jon


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019