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

Fix issues with zsh and setup.sh #182

Merged
merged 1 commit into from
Oct 3, 2012
Merged

Conversation

jamuraa
Copy link
Contributor

@jamuraa jamuraa commented Oct 3, 2012

Because zsh doesn't automatically make arrays on newlines, sourcing the "setup.zsh" file results in an error, and all of the files that should be sourced from the PREFIX/etc/catkin/profile.d don't get sourced, with an error similar to:

/home/jamuraa/ros-groovy/setup.sh:.:104: no such file or directory: /home/jamuraa/ros-groovy/etc/catkin/profile.d/05.catkin-test-results.sh\n/home/jamuraa/ros-groovy/etc/catkin/profile.d/10.rosconsole.sh\n/home/jamuraa/ros-groovy/etc/catkin/profile.d/10.roslaunch.sh\n/home/jamuraa/ros-groovy/etc/catkin/profile.d/10.ros.sh

This pull request fixes the problem by putting zsh into POSIX emulation mode before executing setup.sh, and switching back to zsh mode when done.

dirk-thomas added a commit that referenced this pull request Oct 3, 2012
Fix issues with zsh and setup.sh
@dirk-thomas dirk-thomas merged commit 8da8863 into ros:master Oct 3, 2012
cwecht pushed a commit to cwecht/catkin that referenced this pull request Mar 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants