Author: rhs
Date: Wed May 30 12:01:41 2012
New Revision: 1344211

URL: http://svn.apache.org/viewvc?rev=1344211&view=rev
Log:
fixed to work when sourced from other directories

Modified:
    qpid/proton/trunk/config.sh

Modified: qpid/proton/trunk/config.sh
URL: 
http://svn.apache.org/viewvc/qpid/proton/trunk/config.sh?rev=1344211&r1=1344210&r2=1344211&view=diff
==============================================================================
--- qpid/proton/trunk/config.sh (original)
+++ qpid/proton/trunk/config.sh Wed May 30 12:01:41 2012
@@ -18,7 +18,7 @@
 # under the License.
 #
 
-export PROTON_HOME=$(dirname $(readlink -f $0))
+export PROTON_HOME=$(dirname $(readlink -f ${BASH_SOURCE[0]}))
 
 if [ -z "$CPROTON_BUILD" ]; then
     if [ -d $PROTON_HOME/proton-c/build ]; then



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to