www.delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_SOFTFAIL |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4B5AFA7B.5060608@byu.net> |
Date: | Sat, 23 Jan 2010 06:32:43 -0700 |
From: | Eric Blake <ebb9 AT byu DOT net> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.23) Gecko/20090812 Thunderbird/2.0.0.23 Mnenhy/0.7.6.666 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com, brw314 AT gmail DOT com |
Subject: | Re: bash script error |
References: | <4B5AA3EB DOT 30201 AT gmail DOT com> |
In-Reply-To: | <4B5AA3EB.30201@gmail.com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
--------------enigE94218E4C7B4DE8165C048D1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable According to brian on 1/23/2010 12:23 AM: > Hi, >=20 > I am trying to run a script in cygwin,and keep getting this error.Both > of these files exist (bash.exe) and user has 777 permissions. >=20 > $ bin/run.sh > : /bin/bash: /usr/local/x-daemon.sh: No such file or directory Error messages from bash that wrap back to the beginning of the line are often indicative of stray carriage returns. Does your script contain \r, but you are running on a binary mount and haven't told bash to use the igncr option? --=20 Don't work too hard, make some time for fun as well! Eric Blake ebb9 AT byu DOT net --------------enigE94218E4C7B4DE8165C048D1 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkta+oQACgkQ84KuGfSFAYATfwCeMTWzjJo8pOtxIosEQ7+HmSDu 96YAoJ5vRW6hYnXRGh9ocBfpCF6wLZiu =QTBa -----END PGP SIGNATURE----- --------------enigE94218E4C7B4DE8165C048D1--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |