This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Bug: bash -e misbehaves with several nested
- From: Pavel Fedin <p dot fedin at samsung dot com>
- To: 'Marco Atzeri' <marco dot atzeri at gmail dot com>, cygwin at cygwin dot com
- Date: Wed, 31 May 2017 12:06:47 +0300
- Subject: RE: Bug: bash -e misbehaves with several nested
- Authentication-results: sourceware.org; auth=none
- Cms-type: 201P
- References: <CGME20170524125429eucas1p1384ad5e0c60eb4974a0f57e0f0203d9a@eucas1p1.samsung.com> <000e01d2d48c$e16d1ca0$a44755e0$@samsung.com> <be033564-acfc-1d1a-bc4c-9cbbb73b155f@gmail.com> <000e01d2d53d$57318470$05948d50$@samsung.com> <7eaf015c-431f-8a2e-1b2f-0db58d42df75@gmail.com>
Hello!
> $ ./prova_bash
> Works: /cygdrive/e/cygwin/tmp
>
> $ cat prova_bash
> #!/bin/bash -e
>
> DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
> echo Works: $DIR
Ok, ok, ok... Yet another "find it yourself" problem :) I'll try to...
Sorry for late reply, i tend to forget things...
Kind regards,
Pavel Fedin
Senior Engineer
Samsung Electronics Research center Russia
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple