Revision: 5915
http://squirrel-sql.svn.sourceforge.net/squirrel-sql/?rev=5915&view=rev
Author: manningr
Date: 2010-10-12 11:29:33 +0000 (Tue, 12 Oct 2010)
Log Message:
-----------
Since this function is called multiple times to build different classpaths, reset the CP global variable to avoid picking up the result from previous invocations.
Modified Paths:
--------------
trunk/sql12/installer/squirrelsql-launcher/src/main/resources/squirrel-sql.sh
Modified: trunk/sql12/installer/squirrelsql-launcher/src/main/resources/squirrel-sql.sh
===================================================================
--- trunk/sql12/installer/squirrelsql-launcher/src/main/resources/squirrel-sql.sh 2010-10-11 15:13:25 UTC (rev 5914)
+++ trunk/sql12/installer/squirrelsql-launcher/src/main/resources/squirrel-sql.sh 2010-10-12 11:29:33 UTC (rev 5915)
@@ -6,6 +6,7 @@
# this function.
buildCPFromDir()
{
+ CP=""
if [ -d "$1"/lib ]; then
# First entry in classpath is the Squirrel application.
CP="$1/squirrel-sql.jar"
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|