summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-10-29 14:21:06 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-10-29 14:21:06 +0000
commit3719115b66b772ddd4a979dcfa51ef47dbe792d5 (patch)
tree8478385b1c28e272ff0bd573841c3085a330c160
parent3c506aa5bbe9bf4341b827f034e2a17d069a6708 (diff)
downloadalpine-conf-3719115b66b772ddd4a979dcfa51ef47dbe792d5.zip
lbu: send pre/post package scripts' output to stderr
This is so we don't break 'lbu package -'
-rw-r--r--lbu.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/lbu.in b/lbu.in
index e3761d1..527b9e7 100644
--- a/lbu.in
+++ b/lbu.in
@@ -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
}