Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bashify env loader generation #1

Open
jonbinney opened this issue Sep 22, 2012 · 1 comment
Open

Bashify env loader generation #1

jonbinney opened this issue Sep 22, 2012 · 1 comment
Assignees

Comments

@jonbinney
Copy link
Contributor

It would be great if this ROS workspace bash script didn't depend on an external Python file.

!/bin/bash --norc

function ws()
{
cd $HOME/ws/"$1"
export ROS_WS=$PWD
export ROS_WORKSPACE=$ROS_WS
if [ -f setup.bash ]; then
echo "Sourcing setup.bash"
source setup.bash
fi;

# create a ros environment loader
echo "Creating env loader"
make_env_loader.py $ROS_WS
export ROS_ENV_LOADER=$ROS_WS/env.sh

}

@ghost ghost assigned baalexander Sep 22, 2012
@jonbinney
Copy link
Contributor Author

:-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants