Skip to content

Commit

Permalink
fixed run-class.sh to take absolute paths
Browse files Browse the repository at this point in the history
  • Loading branch information
abh1nay committed Mar 25, 2013
1 parent 3736b4a commit 314e2e8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/run-class.sh
Expand Up @@ -21,7 +21,10 @@ if [ $# -lt 1 ]; then
exit 1
fi

base_dir=$(dirname $0)/..
script_path=$(readlink -f "$0")
script_dir=`dirname "$script_path"`

base_dir=`dirname "$script_dir"`

for file in $base_dir/lib/*.jar;
do
Expand Down

0 comments on commit 314e2e8

Please sign in to comment.