Commit f523b824 authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-pack: add --verbose support

parent 35b27428
......@@ -50,10 +50,14 @@ __epm_pack()
tmpdir=$(mktemp -d)
filefortarname="$tmpdir/filefortarname"
trap "rm -rf $tmpdir" EXIT
#TODO: --verbose support
set_sudo
export SUDO
$repackcode "$tarname" "$filefortarname" || fatal
local bashopt=''
[ -n "$verbose" ] && bashopt='-x' && export EPM_VERBOSE="$verbose"
#info "Running $($script --description 2>/dev/null) ..."
docmd bash $bashopt $repackcode "$tarname" "$filefortarname" || fatal
returntarname="$(cat "$filefortarname")" || fatal "pack script $repackcode didn't set tarname"
if [ -n "$download_only" ] ; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment