From 310fd2c193ad9b173c247c66e71bd27cc9e45874 Mon Sep 17 00:00:00 2001 From: davidsb Date: Fri, 17 Nov 2000 12:10:04 +0000 Subject: [PATCH] Fix error in "Why doesn't my script work?", add note about 'mount -x'. --- winsup/doc/how-using.texinfo | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/winsup/doc/how-using.texinfo b/winsup/doc/how-using.texinfo index 87699f6899..b18619a81d 100644 --- a/winsup/doc/how-using.texinfo +++ b/winsup/doc/how-using.texinfo @@ -162,15 +162,20 @@ they are executable. If your script does not start with @end example (or any path to a script interpreter, it does not have to be /bin/sh) -then Cygwin will not know it is an executable script. The common Bourne -shell idiom +then Cygwin will not know it is an executable script. The Bourne shell +idiom @example : # This is the 2nd line, assume processing by /bin/sh @end example -does not work. +also works. + +Note that you can use @samp{mount -x} to force Cygwin to treat all files +under the mount point as executable. This can be used for individual +files as well as directories. Then Cygwin will not bother to read files +to determine whether they are executable. @subsection Why don't cursor keys work under Win95/Win98? -- 2.11.0