Commit 3719115b authored by Natanael Copa's avatar Natanael Copa

lbu: send pre/post package scripts' output to stderr

This is so we don't break 'lbu package -'
parent 3c506aa5
......@@ -234,7 +234,7 @@ cmd_package() {
init_tmpdir tmpdir
if [ -d "$LBU_PREPACKAGE" ]; then
run-parts "$LBU_PREPACKAGE" || return 1
run-parts "$LBU_PREPACKAGE" >&2 || return 1
fi
[ -n "$ENCRYPTION" ] && suff="$suff.$ENCRYPTION"
......@@ -304,7 +304,7 @@ cmd_package() {
[ $rc -eq 0 ] && vecho "Created $pkg"
fi
if [ -d "$LBU_POSTPACKAGE" ]; then
run-parts "$LBU_POSTPACKAGE"
run-parts "$LBU_POSTPACKAGE" >&2
fi
return $rc
}
......
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