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.
This commit is contained in:
parent
496b9a9c78
commit
d3cb703697
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue