diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-06-28 15:50:47 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2011-06-28 15:50:47 +0000 |
commit | caec161501b7157e102c7e6532084616e8dce176 (patch) | |
tree | 309db281ba8898f82b385aff3c36369bc34a9031 /sca-cpp/trunk/modules/js/util-test | |
parent | 1e9176c21306dd9af9671f3599c377811f73bebc (diff) |
Port to Mac OS X 10.6.7.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1140690 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'sca-cpp/trunk/modules/js/util-test')
-rwxr-xr-x | sca-cpp/trunk/modules/js/util-test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sca-cpp/trunk/modules/js/util-test b/sca-cpp/trunk/modules/js/util-test index ccfb377bd1..08407ea2d1 100755 --- a/sca-cpp/trunk/modules/js/util-test +++ b/sca-cpp/trunk/modules/js/util-test @@ -18,7 +18,7 @@ # under the License. # Run Javascript util test cases -here=`readlink -f $0`; here=`dirname $here` +here=`echo "import os; print os.path.realpath('$0')" | python`; here=`dirname $here` echo "Testing..." cat htdocs/util.js htdocs/elemutil.js htdocs/jsonutil.js json-test.js | ./js-eval 2>/dev/null 1>&2 @@ -27,4 +27,4 @@ if [ "$rc" = "0" ]; then echo "OK" fi -return $rc +exit $rc |