[PATCH] orocos-toolchain-ros env.sh fix

This patch fixes typegen builds not finding the RTT.

There's another bug in that env.sh file in that it does not set the RUBYLIB path correctly. The correct value should be:


diff --git a/env.sh b/env.sh
index baca0c1..dc217ef 100644
--- a/env.sh
+++ b/env.sh
@@ -1,4 +1,4 @@
-export RUBYLIB=`rospack find utilrb`/lib:`rospack find orogen`/lib:`rospack find typelib`/bindings/ruby/lib:`rospack find typelib`/lib
+export RUBYLIB=`rospack find utilrb`/lib:`rospack find orogen`/lib:`rospack find typelib`/install/lib/ruby/1.8/x86_64-linux:`rospack find typelib`/install/lib/ruby/1.8
 export GEM_HOME=`rosstack find orocos_toolchain_ros`/.gems
 export RUBYOPT=-rubygems
 export PATH=`rospack find orogen`/bin:`rosstack find orocos_toolchain_ros`/.gems/bin:$PATH


But that hard-codes the x86_64-linux path. We can use `uname -m` to retrieve the x86_64 string and keep hard-coding '-linux' until we get complaints ?

Peter

AttachmentSize
0001-env.sh-Add-rtt-install-path-to-PKG_CONFIG_PATH.patch1.02 KB