Reword warning message about sudo commands being skipped

This commit is contained in:
Michael von Glasow 2019-01-15 14:14:09 +00:00
parent 868516f3fd
commit f8f17a430d

View file

@ -392,7 +392,7 @@ def build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, ext
f.write(common.get_android_tools_version_log(build.ndk_path())) f.write(common.get_android_tools_version_log(build.ndk_path()))
else: else:
if build.sudo: if build.sudo:
logging.warning('%s:%s runs this on the buildserver with sudo:\n\t%s\nThese commands were skipped because fdroid build is running without the --on-server option.' logging.warning('%s:%s runs this on the buildserver with sudo:\n\t%s\nThese commands were skipped because fdroid build is not running on a dedicated build server.'
% (app.id, build.versionName, build.sudo)) % (app.id, build.versionName, build.sudo))
# Prepare the source code... # Prepare the source code...