Skip to content

Commit

Permalink
NXP-20860: zsh workaround on for loop
Browse files Browse the repository at this point in the history
  • Loading branch information
jcarsique committed Nov 25, 2016
1 parent b1047b5 commit f130fc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/gitfunctions.sh
Expand Up @@ -43,7 +43,7 @@ function _execute_on_modules {
local _modules=""
_retrieve_modules _modules
[ "$quiet" != true ] && echo -e "Execute on modules: $_modules\n"
for dir in $_modules; do
for dir in $(echo $_modules|tr '\n' ' '); do
if [ -d $dir ]; then
( cd $dir
$f $dir
Expand Down

0 comments on commit f130fc5

Please sign in to comment.