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.
pull/5754/head
R.B. Boyer 6 years ago committed by GitHub
parent 626392eb62
commit 63508c6015
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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

Loading…
Cancel
Save