diff options
author | Austin S. Hemmelgarn <austin@netdata.cloud> | 2020-05-12 12:36:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-12 12:36:56 -0400 |
commit | 3daf9561224a85689942c0e1e338f2ce0574ac24 (patch) | |
tree | ce0afbbe018e920f827b5cb75cccecca57c12cb0 | |
parent | 6655519f73b1ac7a78e540923de9ba5783870caa (diff) |
Fixed bundling of React dashboard in DEB and RPM packages. (#8988)
This fixes an error in the code used to bundle the React dashboard in
our DEB and RPM packages which caused it to not be installed correctly,
resulting in the packages only displaying the old dashboard.
-rwxr-xr-x | packaging/bundle-dashboard.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/bundle-dashboard.sh b/packaging/bundle-dashboard.sh index 62ad11c678..8e68ff13fb 100755 --- a/packaging/bundle-dashboard.sh +++ b/packaging/bundle-dashboard.sh @@ -11,4 +11,4 @@ curl -sSL --connect-timeout 10 --retry 3 "https://github.com/netdata/dashboard/r sha256sum -c "${SRCDIR}/packaging/dashboard.checksums" || exit 1 tar -xzf "${DASHBOARD_TARBALL}" -C "${SRCDIR}/tmp" || exit 1 # shellcheck disable=SC2046 -cp -a $(find "${SRCDIR}/tmp" -mindepth 1 -maxdepth 1) "${WEBDIR}" +cp -a $(find "${SRCDIR}/tmp/build" -mindepth 1 -maxdepth 1) "${WEBDIR}" |