[Tinyos-2-commits] CVS: tinyos-2.x/tools/tinyos/misc tos-locate-jre, 1.4, 1.5

Kevin Klues klueska at users.sourceforge.net
Thu Jul 5 11:24:40 PDT 2007


Update of /cvsroot/tinyos/tinyos-2.x/tools/tinyos/misc
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv12019

Modified Files:
	tos-locate-jre 
Log Message:
Fixed escape characters suggested by Razvan Musaloiu


Index: tos-locate-jre
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tools/tinyos/misc/tos-locate-jre,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** tos-locate-jre	7 Jun 2007 07:22:18 -0000	1.4
--- tos-locate-jre	5 Jul 2007 18:24:37 -0000	1.5
***************
*** 39,47 ****
      CYGWIN*)
      # Hopefully this will always work on cygwin with Sun's Java
!     jversion=`regtool -q get '\HKLM\SOFTWARE\JavaSoft\Java Development Kit\CurrentVersion'`
      if [ $? != 0 ]; then
  	exit 1
      fi
!     jhome=`regtool -q get '\HKLM\SOFTWARE\JavaSoft\Java Development Kit\'$jversion'\JavaHome'`
      if [ $? != 0 ]; then
  	exit 1
--- 39,47 ----
      CYGWIN*)
      # Hopefully this will always work on cygwin with Sun's Java
!     jversion=`regtool -q get '\\HKLM\\SOFTWARE\\JavaSoft\\Java Development Kit\\CurrentVersion'`
      if [ $? != 0 ]; then
  	exit 1
      fi
!     jhome=`regtool -q get '\\HKLM\SOFTWARE\\JavaSoft\\Java Development Kit\\'$jversion'\\JavaHome'`
      if [ $? != 0 ]; then
  	exit 1



More information about the Tinyos-2-commits mailing list