提交 d3cb7036 authored 作者: Travis Cross's avatar Travis Cross

debian: force build output to stderr

Because we're capturing the string return value of these functions, we
can't see any output that goes to stdout.
上级 496b9a9c
......@@ -133,6 +133,7 @@ check_repo_clean () {
}
create_orig () {
{
local OPTIND OPTARG
local uver="" bundle_deps=false zl=9e
while getopts 'bnv:z:' o "$@"; do
......@@ -172,10 +173,12 @@ create_orig () {
| xz -c -${zl}v > $orig
mv .gitattributes.orig .gitattributes
git reset --hard HEAD^ && git clean -fdx
} 1>&2
echo $orig
}
create_dsc () {
{
local distro="$(find_distro $1)" orig="$2"
local suite="$(find_suite $distro)"
local orig_ver="$(echo "$orig" | sed -e 's/^.*_//' -e 's/\.orig\.tar.*$//')"
......@@ -189,6 +192,7 @@ create_dsc () {
dpkg-genchanges -S > ../$(dsc_base)_source.changes
local dsc="../$(dsc_base).dsc"
git reset --hard HEAD^ && git clean -fdx
} 1>&2
echo $dsc
}
......@@ -202,6 +206,7 @@ EOF
}
build_debs () {
{
local OPTIND OPTARG debug_hook=false hookdir=""
while getopts 'd' o "$@"; do
case "$o" in
......@@ -241,6 +246,7 @@ build_debs () {
hookdir=$(pwd)/.hooks
fi
cow --build $dsc --hookdir "$hookdir"
} 1>&2
echo ${dsc}_${arch}.changes
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论