diff agent/make/saenv.sh @ 6641:a9fed06c01d2

7154641: Servicability agent should work on platforms other than x86, sparc Summary: Added capability to load support classes for other cpus Reviewed-by: coleenp, bobv, sla Contributed-by: Bill Pittore <bill.pittore@oracle.com>
author bpittore
date Thu, 30 Aug 2012 11:20:01 -0400
parents f6f3bb0ee072
children fac3dd92ebaf
line wrap: on
line diff
--- a/agent/make/saenv.sh	Fri Aug 17 16:47:04 2012 -0700
+++ b/agent/make/saenv.sh	Thu Aug 30 11:20:01 2012 -0400
@@ -26,7 +26,7 @@
 # This file sets common environment variables for all SA scripts
 
 OS=`uname`
-STARTDIR=`dirname $0`
+STARTDIR=`(cd \`dirname $0 \`; pwd)`
 ARCH=`uname -m`
 
 if [ "x$SA_JAVA" = "x" ]; then