ui: fix 'make ui' again (#5751)

When the v1 ui was removed the ui build incorrectly copied everything
into a /dist/ subdirectory instead of directly into the top level.
This commit is contained in:
R.B. Boyer 2019-04-30 12:23:24 -05:00 committed by GitHub
parent 626392eb62
commit 63508c6015
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -114,8 +114,8 @@ function build_ui {
if test ${ret} -eq 0
then
rm -rf ${1}/pkg/web_ui
mkdir -p ${1}/pkg/web_ui
cp -r ${1}/ui-v2/dist/ ${1}/pkg/web_ui
mkdir -p ${1}/pkg
cp -r ${1}/ui-v2/dist ${1}/pkg/web_ui
fi
popd > /dev/null