This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: bash -s from .bat file


---Earl Chew <earl@hpautodb.aus.hp.com> wrote:
>
> : Your stated problem on the directories can be solved like this:
> : 
> :   bash#> cd /
> :   bash#> ln -s //x/a a
> : 
> : now when you do `sh -s /a/b/c/foo.sh %1' it should be able to find
it
> : because //x/a is symbolicly linked to a.
> 
> This is probably true (I haven't tried it yet), but doesn't really
> answer the question why foo.bat containing
> 
> sh -s %1 < \a\b\c\foo.sh
> 
> run from a Win32 command shell doesn't work on b19.
> 

It is most likely because sh which is a port of linuxes ash ends up
trying to open abcfoo.sh instead of \\a\\b\\c\\foo.sh.
==
-        \\||//
---o0O0--Earnie--0O0o----
--earnie_boyd@yahoo.com--
------ooo0O--O0ooo-------



_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]