X-Git-Url: https://oss.titaniummirror.com/gitweb/?a=blobdiff_plain;f=tools%2Ftinyos%2Fmisc%2Ftos-locate-jre;h=9bfbe047e9abba39b4a5f5233c5bba2c4faa6f0b;hb=3854a3ebccc1bdeac15fff4c6577c8cbf0732dbc;hp=8820ee34ebaf327596c5bb8dbabadd93276b401b;hpb=e73e7f537da855a55348f6972b7efc5ae7b69d61;p=tinyos-2.x.git diff --git a/tools/tinyos/misc/tos-locate-jre b/tools/tinyos/misc/tos-locate-jre index 8820ee34..9bfbe047 100755 --- a/tools/tinyos/misc/tos-locate-jre +++ b/tools/tinyos/misc/tos-locate-jre @@ -38,11 +38,11 @@ pathlocate () { case `uname` in CYGWIN*) # Hopefully this will always work on cygwin with Sun's Java - jversion=`regtool -q get '\HKLM\SOFTWARE\JavaSoft\Java Development Kit\CurrentVersion'` + 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'` + jhome=`regtool -q get '\\HKLM\SOFTWARE\\JavaSoft\\Java Development Kit\\'$jversion'\\JavaHome'` if [ $? != 0 ]; then exit 1 fi