Merge pull request #650 from orbea/revert-635-common

Revert "libretro-buildbot-recipe.sh: Remove seemingly unneeded and non-portable bash redirection."
This commit is contained in:
Twinaphex 2017-12-24 18:09:22 +01:00 committed by GitHub
commit 0c417cf654
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -282,7 +282,12 @@ libretro_build_core() {
exec 6>&1
echo "Building ${1}..." >> $log_module
exec > $log_module
# TODO: Possibly a shell function for tee?
if [[ -n "$LIBRETRO_DEVELOPER" && -n "${cmd_tee:=$(find_tool "tee")}" ]]; then
exec > >($cmd_tee -a $log_module)
else
exec > $log_module
fi
fi
case "$core_build_rule" in