build: fix two typos with core branch check

This commit is contained in:
Franco Fichtner 2016-12-23 17:13:34 +01:00
parent 37df87e7a3
commit 8b4cee89d8
2 changed files with 5 additions and 2 deletions

View File

@ -35,6 +35,10 @@ SELF=core
check_packages ${SELF} ${@}
if [ -z "${*}" ]; then
git_branch ${COREDIR} ${COREBRANCH}
fi
setup_stage ${STAGEDIR}
setup_base ${STAGEDIR}
setup_chroot ${STAGEDIR}
@ -48,7 +52,6 @@ if [ -z "${*}" ]; then
setup_clone ${STAGEDIR} ${COREDIR}
CORE_TAGS="bogus"
else
git_branch ${CORDIR} ${COREBRANCH}
CORE_TAGS="${*}"
fi

View File

@ -31,7 +31,7 @@ SELF=test
. ./common.sh && $(${SCRUB_ARGS})
git_branch ${CORDIR} ${COREBRANCH}
git_branch ${COREDIR} ${COREBRANCH}
git_branch ${PLUGINSDIR} ${PLUGINSBRANCH}
setup_stage ${STAGEDIR}