diff --git a/git_helpers b/git_helpers index bfa0302..227673c 100755 --- a/git_helpers +++ b/git_helpers @@ -19,7 +19,13 @@ exec_git_command () { log_debug "$func:${LINENO} exec-ing [$*]" - exec {fd}< <($@) + exec {fd}< <(eval "$@") + + # if [ "$*" = "git pull" ]; then + # else + # exec {fd}< <($@) + # fi + local ps_pid=$! # remember pid of process substitution local git_result="" @@ -154,7 +160,7 @@ pull_customer_repository () { fi log_debug "$func:${LINENO}: commit_before_pull=$commit_before_pull" - + local git_result=$(exec_git_command 'git pull') if [ -z "$git_result" ]; then