disable building of additional viewer packages on linux

master
Oz Linden 2016-03-23 16:12:30 -04:00
parent c3fd3b41e8
commit 812d454ecf
1 changed files with 7 additions and 7 deletions

View File

@ -146,6 +146,13 @@ build()
local variant="$1"
if $build_viewer
then
if [ "$arch" = "Linux" ]
then
## something about the additional_packages mechanism messes up buildscripts results.py
## since we don't care about those packages on Linux, just zero it out, yes - a HACK
export additional_packages=""
fi
"$autobuild" build --quiet --no-configure -c $variant
build_ok=$?
@ -206,13 +213,6 @@ fi
# load autobuild provided shell functions and variables
eval "$("$autobuild" source_environment)"
if [ "$arch" = "Linux" ]
then
## something about the additional_packages mechanism messes up buildscripts results.py
## since we don't care about those packages on Linux, just zero it out, yes - a HACK
export additional_packages=""
fi
# dump environment variables for debugging
begin_section "Environment"
env|sort