summaryrefslogtreecommitdiffstats
path: root/tools/builder_common.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/builder_common.sh')
-rw-r--r--tools/builder_common.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/builder_common.sh b/tools/builder_common.sh
index 55ac60c..fb7c819 100644
--- a/tools/builder_common.sh
+++ b/tools/builder_common.sh
@@ -2117,9 +2117,11 @@ poudriere_update_jails() {
jail_name=$(poudriere_jail_name ${jail_arch})
local _create_or_update="-u"
+ local _create_or_update_text="Updating"
if ! poudriere jail -i -j "${jail_name}" >/dev/null 2>&1; then
echo ">>> Poudriere jail ${jail_name} not found, creating..." | tee -a ${LOGFILE}
_create_or_update="-c -v ${FREEBSD_PARENT_BRANCH} -a ${jail_arch} -m svn"
+ _create_or_update_text="Creating"
fi
if [ "${jail_arch}" = "arm.armv6" ]; then
@@ -2128,10 +2130,10 @@ poudriere_update_jails() {
native_xtools=""
fi
- echo -n ">>> Updating jail ${jail_name}, it may take some time... " | tee -a ${LOGFILE}
+ echo -n ">>> ${_create_or_update_text} jail ${jail_name}, it may take some time... " | tee -a ${LOGFILE}
if ! script -aq ${LOGFILE} poudriere jail ${_create_or_update} -j "${jail_name}" -P ${_jail_patch} ${native_xtools} >/dev/null 2>&1; then
echo "" | tee -a ${LOGFILE}
- echo ">>> ERROR: Error updating jail ${jail_name}, aborting..." | tee -a ${LOGFILE}
+ echo ">>> ERROR: Error ${_create_or_update_text} jail ${jail_name}, aborting..." | tee -a ${LOGFILE}
print_error_pfS
fi
echo "Done!" | tee -a ${LOGFILE}
OpenPOWER on IntegriCloud