Skip to content

Commit

Permalink
DRILL-153 - fixed classpath computation
Browse files Browse the repository at this point in the history
  • Loading branch information
tdunning committed Jul 22, 2013
1 parent 8186b5a commit eaf95ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sandbox/prototype/sqlline
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
# Build classpath on first call. (To force rebuild, remove .classpath.)
if [ ! -f .classpath ]; then
(cd sqlparser; mvn dependency:build-classpath -Dmdep.outputFile=../.classpath)
find . -type d -name classes |awk 'BEGIN {ORS=":"} {print}' >> .classpath
echo -n :sqlparser/target/classes/ >> .classpath
fi

exec java -cp "$(cat .classpath)" sqlline.SqlLine "$@"
Expand Down

0 comments on commit eaf95ed

Please sign in to comment.