[rhmessaging-commits] rhmessaging commits: r3909 - store/branches/java/0.5.x-dev/bin.
rhmessaging-commits at lists.jboss.org
rhmessaging-commits at lists.jboss.org
Wed Apr 14 10:22:17 EDT 2010
Author: ritchiem
Date: 2010-04-14 10:22:16 -0400 (Wed, 14 Apr 2010)
New Revision: 3909
Modified:
store/branches/java/0.5.x-dev/bin/backup.sh
Log:
Updated bin/backup.sh to use dirname rather than readlink.
Modified: store/branches/java/0.5.x-dev/bin/backup.sh
===================================================================
--- store/branches/java/0.5.x-dev/bin/backup.sh 2010-04-14 13:58:46 UTC (rev 3908)
+++ store/branches/java/0.5.x-dev/bin/backup.sh 2010-04-14 14:22:16 UTC (rev 3909)
@@ -27,10 +27,10 @@
fi
done
+WHEREAMI=`dirname $0`
if [ -z "$QPID_HOME" ]; then
- export QPID_HOME=$(dirname $(dirname $(readlink -f $0)))
+ export QPID_HOME=`cd $WHEREAMI/../ && pwd`
fi
-
VERSION=0.6
LIBS=$QPID_HOME/lib/qpid-bdbtools-$VERSION.jar:$QPID_HOME/lib/je-3.3.62.jar:$QPID_HOME/lib/qpid-bdbstore-$VERSION.jar:$QPID_HOME/lib/qpid-all.jar
More information about the rhmessaging-commits
mailing list