mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-17 22:36:39 +00:00
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
6
debian/util.sh
vendored
6
debian/util.sh
vendored
@ -133,6 +133,7 @@ check_repo_clean () {
|
|||||||
}
|
}
|
||||||
|
|
||||||
create_orig () {
|
create_orig () {
|
||||||
|
{
|
||||||
local OPTIND OPTARG
|
local OPTIND OPTARG
|
||||||
local uver="" bundle_deps=false zl=9e
|
local uver="" bundle_deps=false zl=9e
|
||||||
while getopts 'bnv:z:' o "$@"; do
|
while getopts 'bnv:z:' o "$@"; do
|
||||||
@ -172,10 +173,12 @@ create_orig () {
|
|||||||
| xz -c -${zl}v > $orig
|
| xz -c -${zl}v > $orig
|
||||||
mv .gitattributes.orig .gitattributes
|
mv .gitattributes.orig .gitattributes
|
||||||
git reset --hard HEAD^ && git clean -fdx
|
git reset --hard HEAD^ && git clean -fdx
|
||||||
|
} 1>&2
|
||||||
echo $orig
|
echo $orig
|
||||||
}
|
}
|
||||||
|
|
||||||
create_dsc () {
|
create_dsc () {
|
||||||
|
{
|
||||||
local distro="$(find_distro $1)" orig="$2"
|
local distro="$(find_distro $1)" orig="$2"
|
||||||
local suite="$(find_suite $distro)"
|
local suite="$(find_suite $distro)"
|
||||||
local orig_ver="$(echo "$orig" | sed -e 's/^.*_//' -e 's/\.orig\.tar.*$//')"
|
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
|
dpkg-genchanges -S > ../$(dsc_base)_source.changes
|
||||||
local dsc="../$(dsc_base).dsc"
|
local dsc="../$(dsc_base).dsc"
|
||||||
git reset --hard HEAD^ && git clean -fdx
|
git reset --hard HEAD^ && git clean -fdx
|
||||||
|
} 1>&2
|
||||||
echo $dsc
|
echo $dsc
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -202,6 +206,7 @@ EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
build_debs () {
|
build_debs () {
|
||||||
|
{
|
||||||
local OPTIND OPTARG debug_hook=false hookdir=""
|
local OPTIND OPTARG debug_hook=false hookdir=""
|
||||||
while getopts 'd' o "$@"; do
|
while getopts 'd' o "$@"; do
|
||||||
case "$o" in
|
case "$o" in
|
||||||
@ -241,6 +246,7 @@ build_debs () {
|
|||||||
hookdir=$(pwd)/.hooks
|
hookdir=$(pwd)/.hooks
|
||||||
fi
|
fi
|
||||||
cow --build $dsc --hookdir "$hookdir"
|
cow --build $dsc --hookdir "$hookdir"
|
||||||
|
} 1>&2
|
||||||
echo ${dsc}_${arch}.changes
|
echo ${dsc}_${arch}.changes
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user