You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2012/05/30 14:01:42 UTC
svn commit: r1344211 - /qpid/proton/trunk/config.sh
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-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org