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