> -----Original Message----- > From: Cygwin <cygwin-boun...@cygwin.com> On Behalf Of Brian Inglis > Sent: 25 November 2020 21:59 > > On 2020-11-25 11:26, Vlado via Cygwin wrote: > > On 25.11.2020 15:18, KAVALAGIOS Panagiotis (EEAS-EXT) wrote: > > Mount -s was removed in 2008: > https://sourceware.org/git/?p=newlib- > cygwin.git;a=commitdiff;h=5f853b3fc5277da8cb5ba3ac7406447fe82e65de > three months after it was set to be ignored.
That explains the mystery. Thanks! > >> if [ -n "`uname -s |grep -i cygwin_`" ]; then > >> # If we are on an new version of Cygnus we need to turn <letter>:/ > >> in > >> # the path to/cygdrive/<letter>/ > > Use of 'Cygnus' refers to 20+ years ago when Cygwin was a product. So, it might have been working quite "recently" then :) > > Hard to say why Oracle's script is written this way. Standard Cygwin > > tool for file names conversion is cygpath. Instead of using sed, one > > can write WL_HOME_CYGWIN=`cygpath -u $WL_HOME` > > - simpler and the result will be more consistent. Example > > > > $ WL_HOME='C:\some\dir\subdir' # Windows path $ echo > > "$WL_HOME" | sed "s#\([a-zA-Z]\):#/cygdrive/c/\1#g" > > /cygdrive/c/C\some\dir\subdir # mixed forward and back > > slashes $ cygpath -u "$WL_HOME" > > /cygdrive/c/some/dir/subdir # pretty Cygwin path > > Especially note the cygpath -U -> /proc/cygdrive/, -a -> /..., and -p path > conversion options should be used as appropriate: try all three! Cygpath then is the correct approach to resolve this issue. I had no doubt about that. Anyway, this is not the only problem. They have messed the CLASSPATH as well and it needs to be updated to the correct libraries. Panos -- 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