On 2025-03-08 11:22, Roland Mainz via Cygwin wrote:
While doing testing with UNC paths I found that GNU mkinstalldirs does
not handle UNC paths - for example creating subdirs in
//foo.bar.com/chickmonster/dir1/dir2/ will *partially* appear in
/foo.bar.com/chickmonster/dir1/dir2/
Workaround is in
https://github.com/kofemann/ms-nfs41-client/blob/296286c364548eba9b8e692521910fd59a99ebf7/tests/nfsbuildtest/nfsbuildtest.ksh93#L121
... which basically replaces the GNU mkinstalldirs script with a
version which just calls mkdir -p "$@"
Questions:
- Does Cygwin have any testsuite which tests with UNC paths, or do I
have to write one myself (for ms-nfs41-client and ms-nfs42-client we
have stuff like
https://github.com/kofemann/ms-nfs41-client/blob/master/tests/nfsbuildtest/nfsbuildtest.ksh93
which runs as part of the CI, both /cygdrive/$devletter/... and UNC
path) ?
- Does anyone know whether there is a single upstream for GNU
mkinstalldirs, or do the various GNU projects just copy the script
around ?
Obsolete:
https://lists.gnu.org/archive/html/automake/2007-03/msg00013.html
use $(MKDIR_P) or `install-sh -d`
It may be upgraded if you run autoupdate.
--
Take care. Thanks, Brian Inglis Calgary, Alberta, Canada
La perfection est atteinte Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add
mais lorsqu'il n'y a plus rien à retrancher but when there is no more to cut
-- Antoine de Saint-Exupéry
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple