mirror of
https://github.com/YunoHost/vinaigrette.git
synced 2024-09-03 20:06:11 +02:00
Minor stuff to improve consistency and readability of build messages
This commit is contained in:
parent
98d88aaca0
commit
f77f7fc8aa
2 changed files with 4 additions and 4 deletions
|
@ -41,7 +41,7 @@ function main()
|
||||||
add_to_reprepro
|
add_to_reprepro
|
||||||
|
|
||||||
success "Build will start soon. See 'rebuildd-job list | tail'"
|
success "Build will start soon. See 'rebuildd-job list | tail'"
|
||||||
sendxmpppy "Added builds for ${PACKAGE}/${VERSION} in branch ${BRANCH} ..."
|
sendxmpppy "Added builds for ${PACKAGE}/${VERSION} for ${DISTRIB}/${BRANCH} ..."
|
||||||
}
|
}
|
||||||
|
|
||||||
# ################# #
|
# ################# #
|
||||||
|
|
|
@ -5,7 +5,7 @@ package=$2
|
||||||
version=$3
|
version=$3
|
||||||
arch=$4
|
arch=$4
|
||||||
|
|
||||||
sendxmpppy "Starting build ${package}/${version} for $arch ..."
|
sendxmpppy "Starting build ${package}/${version} for arch=$arch ..."
|
||||||
|
|
||||||
source /home/vinaigrette/config/config
|
source /home/vinaigrette/config/config
|
||||||
source /home/vinaigrette/scripts/package_helpers.sh
|
source /home/vinaigrette/scripts/package_helpers.sh
|
||||||
|
@ -23,7 +23,7 @@ elif [[ $arch == all ]]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
## Retrieve the number of processors for parallel building
|
## Retrieve the number of processors for parallel building
|
||||||
## N.B. : disabled by Alex on Feb 12 2020 because this makes some build fail on buster for some reason...
|
## N.B. : disabled by Alex on Feb 12 2020 because this makes some build fail on buster for some reason..
|
||||||
#if [ -x /usr/bin/getconf ]; then
|
#if [ -x /usr/bin/getconf ]; then
|
||||||
# JOBS=`getconf _NPROCESSORS_CONF`
|
# JOBS=`getconf _NPROCESSORS_CONF`
|
||||||
#else
|
#else
|
||||||
|
@ -75,7 +75,7 @@ exit_code=$?
|
||||||
|
|
||||||
if [[ $exit_code != 0 ]];
|
if [[ $exit_code != 0 ]];
|
||||||
then
|
then
|
||||||
sendxmpppy "Building ${package}/${version} for $arch failed ?!"
|
sendxmpppy "Building ${package}/${version} for arch=$arch failed ?!"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit $exit_code
|
exit $exit_code
|
||||||
|
|
Loading…
Add table
Reference in a new issue