From 63508c601538bfa11f1d0a644a4adb3ee01e489a Mon Sep 17 00:00:00 2001 From: "R.B. Boyer" Date: Tue, 30 Apr 2019 12:23:24 -0500 Subject: [PATCH] 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. --- build-support/functions/20-build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-support/functions/20-build.sh b/build-support/functions/20-build.sh index 50f6701a8a..5acdb60b60 100644 --- a/build-support/functions/20-build.sh +++ b/build-support/functions/20-build.sh @@ -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