Use eval() to remove any trailing stuff in front or after opkg-command
This commit is contained in:
parent
a507e9c29c
commit
ada0105f7f
@ -19,7 +19,13 @@ exec_git_command () {
|
|||||||
|
|
||||||
log_debug "$func:${LINENO} exec-ing [$*]"
|
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 ps_pid=$! # remember pid of process substitution
|
||||||
|
|
||||||
local git_result=""
|
local git_result=""
|
||||||
|
Loading…
Reference in New Issue
Block a user