This is the mail archive of the
cygwin
mailing list for the Cygwin project.
unzip surprise: foo.exe hides foo/ ?
- From: Dan Kegel <dank at kegel dot com>
- To: cygwin at cygwin dot com
- Date: Thu, 30 May 2013 18:50:43 -0700
- Subject: unzip surprise: foo.exe hides foo/ ?
It seems that if a zipfile includes both foo.exe and foo/, unzipping
the zipfile fails like this:
inflating: /cygdrive/c/yobuild/src/gtest/msvc/gtest/Debug/gtest_prod_test.exe
checkdir error:
/cygdrive/c/yobuild/src/gtest/msvc/gtest/Debug/gtest_prod_test exists
but is not directory
unable to process
yobuild/src/gtest/msvc/gtest/Debug/gtest_prod_test/.
unzip then exits with nonzero status.
Is that confusion expected? It kind of looks like unzip needs to be
aware of the leaky abstraction...
--
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