]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tools/tinyos/misc/tos-locate-jre
Added forced check for amd64 directory when performing a tos-locate-jre
[tinyos-2.x.git] / tools / tinyos / misc / tos-locate-jre
index 9bfbe047e9abba39b4a5f5233c5bba2c4faa6f0b..4f93dd7945e3a886b459460fd9ab8d07f06bb694 100755 (executable)
@@ -121,8 +121,10 @@ if [ "$jni" = "yes" ]; then
        arch=`uname -m`
        jnilocate "$jhome/jre/lib/$arch" || \
            jnilocate "$jhome/jre/lib/i386" || \
+           jnilocate "$jhome/jre/lib/amd64" || \
            jnilocate "$jhome/lib/$arch" || \
-           jnilocate "$jhome/lib/i386"
+           jnilocate "$jhome/lib/i386" || \
+           jnilocate "$jhome/lib/amd64"
     fi
 elif [ "$javac" = "yes" ]; then
  if [ `uname` = "Darwin" ]; then