diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-10-29 14:21:06 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-10-29 14:21:06 +0000 |
commit | 3719115b66b772ddd4a979dcfa51ef47dbe792d5 (patch) | |
tree | 8478385b1c28e272ff0bd573841c3085a330c160 | |
parent | 3c506aa5bbe9bf4341b827f034e2a17d069a6708 (diff) | |
download | alpine-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.in | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 } |