Use eval() to remove any trailing stuff in front or after opkg-command

This commit is contained in:
Gerhard Hoffmann 2022-06-03 22:17:27 +02:00
parent a507e9c29c
commit ada0105f7f

View File

@ -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=""