GIT_REPO_FREEBSD_DOC -> FREEBSD_DOC_GIT_REPO
This commit is contained in:
parent
9d3d99045e
commit
cbd09402e8
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=51072
1 changed files with 7 additions and 4 deletions
|
@ -10,7 +10,10 @@
|
|||
# make_opt=-j2 /path/to/webupdate-regression
|
||||
#
|
||||
# run from a local GIT repo in $HOME/freebsd-doc
|
||||
# GIT_REPO_FREEBSD_DOC="$HOME/freebsd-doc" /path/to/webupdate-regression
|
||||
# FREEBSD_DOC_GIT_REPO="$HOME/freebsd-doc" /path/to/webupdate-regression
|
||||
#
|
||||
# run the regression test on branch "debug"
|
||||
# FREEBSD_DOC_GIT_BRANCH=debug /path/to/webupdate-regression
|
||||
#
|
||||
# build html-split format only, on 8 CPUs
|
||||
# WEBUPDATE_FORMATS="html-split" make_opt=-j8 /path/to/webupdate-regression
|
||||
|
@ -34,7 +37,7 @@ set -e
|
|||
|
||||
: ${NO_OBJ=YES}
|
||||
: ${make_opt=-j8}
|
||||
: ${GIT_REPO_FREEBSD_DOC="$HOME/freebsd-doc"}
|
||||
: ${FREEBSD_DOC_GIT_REPO="$HOME/freebsd-doc"}
|
||||
: ${FREEBSD_DOC_GIT_BRANCH=""}
|
||||
: ${WEBUPDATE_FORMATS="html-split html"}
|
||||
: ${WEBUPDATE_RUN_CLEAN=YES}
|
||||
|
@ -67,8 +70,8 @@ checkout ()
|
|||
echo "NO_OBJ=$NO_OBJ"
|
||||
echo "make_opt=$make_opt"
|
||||
|
||||
echo "git clone from $GIT_REPO_FREEBSD_DOC -> doc"
|
||||
git clone -q $GIT_REPO_FREEBSD_DOC doc
|
||||
echo "git clone from $FREEBSD_DOC_GIT_REPO -> doc"
|
||||
git clone -q $FREEBSD_DOC_GIT_REPO doc
|
||||
cd doc
|
||||
if [ "$FREEBSD_DOC_GIT_BRANCH" != "" ]; then
|
||||
echo "switch to branch $FREEBSD_DOC_GIT_BRANCH"
|
||||
|
|
Loading…
Reference in a new issue