diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-07-29 20:19:07 +0200 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-07-29 22:57:11 +0200 |
commit | a84aef85fda6d4ff714d27b9882df5e8d6c77166 (patch) | |
tree | 407301922f20a58a488ae51950aa048628e463d7 /scripts/lib/ptxd_make_world_install.sh | |
parent | fdee2b7f44597526da82890a5c8fad16ef46ea0a (diff) | |
download | ptxdist-a84aef85fda6d4ff714d27b9882df5e8d6c77166.tar.gz ptxdist-a84aef85fda6d4ff714d27b9882df5e8d6c77166.tar.xz |
ptxdist: add --verbose option and start using it
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'scripts/lib/ptxd_make_world_install.sh')
-rw-r--r-- | scripts/lib/ptxd_make_world_install.sh | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/scripts/lib/ptxd_make_world_install.sh b/scripts/lib/ptxd_make_world_install.sh index dcb6a6125..59711c206 100644 --- a/scripts/lib/ptxd_make_world_install.sh +++ b/scripts/lib/ptxd_make_world_install.sh @@ -25,7 +25,7 @@ export -f ptxd_make_world_install_prepare # FIXME: kick ${pkg_install_env} # ptxd_make_world_install() { - local -a fakeargs + local -a fakeargs cmd ptxd_make_world_init && @@ -48,7 +48,7 @@ ptxd_make_world_install() { ptxd_make_world_install_prepare && - "${echo:-echo}" \ + cmd=( \ "${pkg_path}" \ "${pkg_env}" \ "${pkg_make_env}" \ @@ -57,6 +57,12 @@ ptxd_make_world_install() { -C "${pkg_build_dir}" \ "${pkg_install_opt}" \ -j1 \ + ) && + + ptxd_verbose "executing:" "${cmd[@]}" && + + "${echo:-echo}" \ + "${cmd[@]}" \ | "${fakeroot:-fakeroot}" "${fakeargs[@]}" -- check_pipe_status } |