]> oss.titaniummirror.com Git - tinyos-2.x.git/blobdiff - tools/tinyos/misc/tos-install-jni.in
Added support for MAC OS in tools compilation
[tinyos-2.x.git] / tools / tinyos / misc / tos-install-jni.in
index bfb7b5ab5ba0ec0119229065fccc587001552c71..3a8d6f4aede901632e7960dff9ba2e31bfd33e7b 100644 (file)
@@ -10,7 +10,7 @@ if [ $? -ne 0 ]; then
   exit 1
 fi
 
-if cygpath -w / >/dev/null 2>/dev/null; then
+if [ cygpath -w / >/dev/null 2>/dev/null ] || [ `uname` == "Darwin" ]; then
   echo "Installing Java JNI code in $jni ... "
   for lib in $tinyoslibdir/*.@JNISUFFIX@; do 
     @INSTALLJNI@ $lib "$jni" || exit 1