diff options
author | Renato Botelho <renato@netgate.com> | 2016-03-04 11:07:09 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2016-03-04 11:07:09 -0300 |
commit | 43f6b08117d0266e44e462eb3024aef653e507b6 (patch) | |
tree | 940ee3f74f2b8c011f9cf694793f4242ae572040 /tools | |
parent | c136dde1959479416ea5326c1eb2f622c975ff96 (diff) | |
download | pfsense-43f6b08117d0266e44e462eb3024aef653e507b6.zip pfsense-43f6b08117d0266e44e462eb3024aef653e507b6.tar.gz |
Clarify what is happening
Diffstat (limited to 'tools')
-rw-r--r-- | tools/builder_common.sh | 6 |
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} |