From 7b9ef24e4e71b6c13f5e73a8e2dd9bea289bf038 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Thu, 22 Jan 2015 16:25:24 +0000 Subject: [PATCH] source in emulation mode (really fix #686) --- cmake/templates/setup.zsh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/templates/setup.zsh.in b/cmake/templates/setup.zsh.in index 952f72a46..76a8d0925 100644 --- a/cmake/templates/setup.zsh.in +++ b/cmake/templates/setup.zsh.in @@ -5,4 +5,4 @@ CATKIN_SHELL=zsh # source setup.sh from same directory as this file _CATKIN_SETUP_DIR=$(builtin cd -q "`dirname "$0"`" > /dev/null && pwd) -source "$_CATKIN_SETUP_DIR/setup.sh" +emulate sh -c 'source "$_CATKIN_SETUP_DIR/setup.sh"'