exit 6
fi
+cd $PRODUCT_INSTALL/lib
+find . -name "*.so*" |xargs chmod u+rwx
+
echo
echo "########## END"
chmod a+x omniidlrun.py
fi
+cd $PRODUCT_INSTALL/lib
+find . -name "*.so*" |xargs chmod u+rwx
+
echo
echo "########## END"
mkdir -p $PRODUCT_INSTALL
echo "omniORBpy is installed into omni dir ${OMNIORB_ROOT_DIR}" > $PRODUCT_INSTALL/README
+# fix
+cd $OMNIORB_ROOT_DIR/lib
+find . -name "*.so*" |xargs chmod u+rwx
+
echo
echo "########## END"
-
echo "ERROR on make"
exit 1
fi
+
+cd $PRODUCT_INSTALL/lib
+find . -name "*.so*" |xargs chmod u+rwx
+
echo
echo "########## END"
cp -r $BUILD_DIR/include $PRODUCT_INSTALL/include
cp -r $BUILD_DIR/build/linux*_release $PRODUCT_INSTALL/lib
+cd $PRODUCT_INSTALL/lib
+find . -name "*.so*" |xargs chmod u+rwx
+
echo
echo "########## END"