acrn-hypervisor/doc/scripts/pullsource.sh
David B. Kinder 0dc93a5281 doc: filter known issues
make the doc build process quiet and add filtering of known (Sphinx)
issues.  Scripting comes from the open source Zephyr project.

Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
2018-05-15 17:19:35 +08:00

31 lines
606 B
Bash
Executable File

#!/bin/bash
q="--quiet"
# pull fresh copies of the ACRN source for use by doxygen
if [ ! -d "../acrn-hypervisor" ]; then
echo Repo for acrn-hypervisor is missing.
exit -1
fi
if [ ! -d "../acrn-devicemodel" ]; then
echo Repo for acrn-devicemodel is missing.
exit -1
fi
# Assumes origin (personal) and upstream (project) remote repos are
# setup
cd ../acrn-hypervisor
git checkout $q master;
git fetch $q upstream
git merge $q upstream/master
git push $q origin master
cd ../acrn-devicemodel
git checkout $q master;
git fetch $q upstream
git merge $q upstream/master
git push $q origin master