gora-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lewi...@apache.org
Subject svn commit: r1493581 - in /gora/trunk: CHANGES.txt bin/gora
Date Sun, 16 Jun 2013 20:44:15 GMT
Author: lewismc
Date: Sun Jun 16 20:44:15 2013
New Revision: 1493581

URL: http://svn.apache.org/r1493581
Log:
GORA-243 Properly escaping spaces of GORA_HOME in bin/gora

Modified:
    gora/trunk/CHANGES.txt
    gora/trunk/bin/gora

Modified: gora/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/gora/trunk/CHANGES.txt?rev=1493581&r1=1493580&r2=1493581&view=diff
==============================================================================
--- gora/trunk/CHANGES.txt (original)
+++ gora/trunk/CHANGES.txt Sun Jun 16 20:44:15 2013
@@ -4,6 +4,8 @@
 
 Gora Change Log
 
+* GORA-243 Properly escaping spaces of GORA_HOME in bin/gora (Apostolos Giannakidis via lewismc)
+
 * GORA-174 GORA compiler does not handle ["string", "null"] unions in the AVRO schema (alfonsonishikawa,
rmarroquin, kturner via lewismc)
   incl. GORA-206, 207 and 216.
 

Modified: gora/trunk/bin/gora
URL: http://svn.apache.org/viewvc/gora/trunk/bin/gora?rev=1493581&r1=1493580&r2=1493581&view=diff
==============================================================================
--- gora/trunk/bin/gora (original)
+++ gora/trunk/bin/gora Sun Jun 16 20:44:15 2013
@@ -143,6 +143,8 @@ else
   shift
 fi
 
+SAVEIFS=$IFS
+IFS=$(echo -en "\n\b")
 # add libs to CLASSPATH
 for f in $GORA_HOME/$MODULE/lib/*.jar; do
   CLASSPATH=${CLASSPATH}:$f;
@@ -151,6 +153,7 @@ done
 for f in $GORA_HOME/$MODULE/target/*.jar; do
   CLASSPATH=${CLASSPATH}:$f;
 done
+IFS=$SAVEIFS
 
 CLASSPATH=${CLASSPATH}:$GORA_HOME/$MODULE/target/classes/
 CLASSPATH=${CLASSPATH}:$GORA_HOME/$MODULE/target/test-classes/



Mime
View raw message