svn commit: r905182 - /ofbiz/trunk/ant

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r905182 - /ofbiz/trunk/ant

doogie-3
Author: doogie
Date: Mon Feb  1 05:48:09 2010
New Revision: 905182

URL: http://svn.apache.org/viewvc?rev=905182&view=rev
Log:
Fix using the shell script from a sub directory.

Modified:
    ofbiz/trunk/ant

Modified: ofbiz/trunk/ant
URL: http://svn.apache.org/viewvc/ofbiz/trunk/ant?rev=905182&r1=905181&r2=905182&view=diff
==============================================================================
--- ofbiz/trunk/ant (original)
+++ ofbiz/trunk/ant Mon Feb  1 05:48:09 2010
@@ -26,7 +26,8 @@
 fi
 
 find_jar() {
- set -- framework/base/lib/ant-launcher-*.jar
+ top="$(cd "$(dirname "$0")"; echo "$PWD")"
+ set -- "$top"/framework/base/lib/ant-launcher-*.jar
  if [ $# = 1 ] && [ -e "$1" ]; then
  echo "$1"
  else